travis: Do our automake build tests with srcdir != builddir.
authorEric Anholt <eric@anholt.net>
Tue, 5 Jun 2018 15:18:51 +0000 (08:18 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 8 Jun 2018 16:50:28 +0000 (09:50 -0700)
This will catch many automake bugs that end-users get to experience first,
otherwise.

Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
.travis.yml

index ae28e63efb866ed28bf71dd9738e4f9efb0bb322..b367bd74d92d98459cae0d0fb331a058ecada064 100644 (file)
@@ -591,7 +591,9 @@ script:
 
       export CFLAGS="$CFLAGS -isystem`pwd`";
 
-      ./autogen.sh --enable-debug
+      mkdir build &&
+      cd build &&
+      ../autogen.sh --enable-debug
         $LIBUNWIND_FLAGS
         $DRI_LOADERS
         --with-dri-drivers=$DRI_DRIVERS