• Andres Gomez's avatar
    travis: add docker based cmake build job · 2e0ef434
    Andres Gomez authored
    Until now we were only running the python unit tests.
    
    It seems desirable to also check that the CMake based build compiles
    successfully. We do that now using docker.
    
    The docker build can be tweaked with some environment variables and,
    also, be stored in the docker hub if desired. Check the changes for
    extra details regarding these variables.
    
    v2: Removed other build possibilities other than just from inside
        Travis-CI, as suggested by Juan.
    v3: Replaced the "RELEASE" parameter to create the docker image with
        "PARENT" and removed some unneeded documentation after v2, as
        suggested by Juan.
    v4:
      - Use DOCKER_PARENT, DOCKER_IMAGE and DOCKER_TAG variables from the
        custom Travis-CI setup to define the PARENT, IMAGE and TAG
        parameters during the docker image creation.
      - Upload the image only if DOCKER_IMAGE and DOCKER_TAG are set.
    
    Cc: Dylan Baker <dylan@pnwbakers.com>
    Cc: Juan A. Suarez <jasuarez@igalia.com>
    Signed-off-by: Andres Gomez's avatarAndres Gomez <agomez@igalia.com>
    Reviewed-by: Juan Suárez Romero's avatarJuan A. Suarez <jasuarez@igalia.com>
    Acked-by: Eric Anholt's avatarEric Anholt <eric@anholt.net>
    Acked-by: Dylan Baker's avatarDylan Baker <dylan@pnwbakers.com>
    2e0ef434
Name
Last commit
Last update
ci/appveyor Loading commit data...
cmake Loading commit data...
completions/bash Loading commit data...
docker Loading commit data...
examples/glsl_parser_test Loading commit data...
framework Loading commit data...
generated_tests Loading commit data...
licences Loading commit data...
registry Loading commit data...
self-tests Loading commit data...
src Loading commit data...
templates Loading commit data...
tests Loading commit data...
unittests Loading commit data...
.dir-locals.el Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CMakeLists.txt Loading commit data...
COPYING Loading commit data...
HACKING Loading commit data...
README Loading commit data...
RELEASE Loading commit data...
TODO Loading commit data...
appveyor.yml Loading commit data...
piglit Loading commit data...
piglit-print-commands.py Loading commit data...
piglit-resume.py Loading commit data...
piglit-run.py Loading commit data...
piglit-summary-html.py Loading commit data...
piglit-summary.py Loading commit data...
piglit.conf.example Loading commit data...
tox.ini Loading commit data...