travis: do the build out-of-tree
authorRan Benita <ran234@gmail.com>
Mon, 31 Jul 2017 15:22:54 +0000 (18:22 +0300)
committerRan Benita <ran234@gmail.com>
Mon, 31 Jul 2017 15:22:54 +0000 (18:22 +0300)
To catch problems like the previous commit.

Signed-off-by: Ran Benita <ran234@gmail.com>
.travis.yml

index 10cc6ab..f0bc3e0 100644 (file)
@@ -10,4 +10,5 @@ compiler:
     - gcc
     - clang
 
-script: ./autogen.sh && make && make check
+script:
+    - mkdir autotools-build && cd autotools-build && ../autogen.sh && make && make check