travis: Only run testsuite for gcc builds
authorThomas Graf <tgraf@noironetworks.com>
Fri, 28 Nov 2014 12:50:02 +0000 (13:50 +0100)
committerBen Pfaff <blp@nicira.com>
Fri, 5 Dec 2014 20:36:06 +0000 (12:36 -0800)
This reduces the total travis build time significantly.

Signed-off-by: Thomas Graf <tgraf@noironetworks.com>
Acked-by: Flavio Leitner <fbl@redhat.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
.travis/build.sh

index 6e99c63..990d263 100755 (executable)
@@ -80,7 +80,7 @@ else
     make CFLAGS="$CFLAGS" C=1
 fi
 
-if [ $TESTSUITE ]; then
+if [ $TESTSUITE ] && [ $CC != "clang" ]; then
     if ! make distcheck; then
         # testsuite.log is necessary for debugging.
         cat */_build/tests/testsuite.log