diff options
author | Eric Anholt <[email protected]> | 2015-12-01 11:57:49 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2015-12-01 15:09:56 -0800 |
commit | 18f8da7865ddc27e4bb17f935c826f803bdfd5ba (patch) | |
tree | 2831863ecca5d404d944ffa9f47bc87c2f5fe973 /.travis.yml | |
parent | 975b1299dd495a910bcfb86e3dc24131ed3c2e2f (diff) |
travis: Add a test build with scons.
Since I just broke the scons build, I figured I'd make Travis test that I
don't break it again in the future. The script runs the builds in
parallel across VMs, so it still takes just 5 minutes to turn around
results.
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml index 31cd5c27ecb..da1d81e1b46 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,7 @@ addons: - libxcb-dri2-0-dev - libx11-xcb-dev - llvm-3.4-dev + - scons env: global: @@ -32,6 +33,9 @@ env: - LIBXCB_VERSION=libxcb-1.11 - LIBXSHMFENCE_VERSION=libxshmfence-1.2 - PKG_CONFIG_PATH=$HOME/prefix/lib/pkgconfig + matrix: + - BUILD=make + - BUILD=scons install: - export PATH="/usr/lib/ccache:$PATH" @@ -84,9 +88,14 @@ install: # with "undefined reference to `clock_gettime'" and "undefined # reference to `setupterm'" in llvmpipe. script: - - ./autogen.sh --enable-debug - --disable-gallium-llvm - --with-egl-platforms=x11,drm - --with-dri-drivers=i915,i965,radeon,r200,swrast,nouveau - --with-gallium-drivers=svga,swrast,vc4,virgl - - make && make check + - if test "x$BUILD" = xmake; then + ./autogen.sh --enable-debug + --disable-gallium-llvm + --with-egl-platforms=x11,drm + --with-dri-drivers=i915,i965,radeon,r200,swrast,nouveau + --with-gallium-drivers=svga,swrast,vc4,virgl + ; + make && make check; + elif test x$BUILD = xscons; then + scons; + fi |