[Piglit] [PATCH v3] travis: add docker based cmake build job

Eric Anholt eric at anholt.net
Mon Jan 29 22:06:44 UTC 2018


Andres Gomez <agomez at igalia.com> writes:

> 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.
>
> Cc: Dylan Baker <dylan at pnwbakers.com>
> Cc: Juan A. Suarez <jasuarez at igalia.com>
> Signed-off-by: Andres Gomez <agomez at igalia.com>
> Reviewed-by: Juan A. Suarez <jasuarez at igalia.com>

I'm definitely interested in extending our tests using Travis, but could
you add some comments explaining what this system does?  Do we do a
bunch of image build work (numpy/six/mako install) on each Travis build,
or does it get cached?  Do I need to do any setup in Travis in order for
this to take effect?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/piglit/attachments/20180129/1e6f8ec6/attachment.sig>


More information about the Piglit mailing list