Commit 39bad2f396de7885c9569144b5bb6e8a639ac011

Anthony Green 2019-10-31T12:33:22

Don't run autogen.sh all the time.

diff --git a/.travis/build.sh b/.travis/build.sh
index 217f4e7..809c336 100755
--- a/.travis/build.sh
+++ b/.travis/build.sh
@@ -44,24 +44,28 @@ function build_ios()
     exit $?
 }
 
-./autogen.sh
 case "$HOST" in
     arm-apple-darwin*)
+	./autogen.sh
 	build_ios
 	;;
     arm32v7-linux-gnu)
+	./autogen.sh
         build_foreign_linux arm moxielogic/arm32v7-ci-build-container:latest 
 	;;
     aarch64-linux-gnu)
+	./autogen.sh
         build_foreign_linux aarch64 moxielogic/aarch64-ci-build-container:latest 
 	;;
     powerpc64le-unknown-linux-gnu | sparc64-linux-gnu)
         build_cfarm
 	;;
     s390x-linux-gnu)
+	./autogen.sh
 	build_foreign_linux s390x s390x/ubuntu
 	;;
     *)
+	./autogen.sh
 	build_linux
 	;;
 esac