]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
travis: don't run distcheck on integration tests
authorVincent Bernat <vincent@bernat.im>
Fri, 5 Feb 2016 08:38:09 +0000 (09:38 +0100)
committerVincent Bernat <vincent@bernat.im>
Fri, 5 Feb 2016 08:38:09 +0000 (09:38 +0100)
.travis/run.sh

index 096f3fe514ed3d385ff81c7d291433fda3fecc5e..50c63c232119383d6a6c2dceae34065f8c8d4b17 100755 (executable)
@@ -27,13 +27,14 @@ if [ x"${RUN_COVERITY}" = x"1" ]; then
 else
     # Regular build
     make all check CFLAGS=-Werror
-    make distcheck
-    if [ x"$TRAVIS_OS_NAME" = x"osx" ]; then
-        make -C osx pkg
-    fi
-    [ x"$RUN_INTEGRATION" != x"1" ] || {
+    if [ x"$RUN_INTEGRATION" = x"1" ]; then
         cd tests
         make integration-tests
         sh integration-tests
-    }
+    else
+        make distcheck
+        if [ x"$TRAVIS_OS_NAME" = x"osx" ]; then
+            make -C osx pkg
+        fi
+    fi
 fi