travis: do the build out-of-tree To catch problems like the previous commit. Signed-off-by: Ran Benita <ran234@gmail.com>
diff --git a/.travis.yml b/.travis.yml
index 10cc6ab..f0bc3e0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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