]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
travis.yml: fix versionsTest target
authorPrzemyslaw Skibinski <inikep@gmail.com>
Wed, 22 Feb 2017 08:36:42 +0000 (09:36 +0100)
committerPrzemyslaw Skibinski <inikep@gmail.com>
Wed, 22 Feb 2017 08:36:42 +0000 (09:36 +0100)
.travis.yml
tests/Makefile

index e6b011003b7f5178f6c037454f35e6a5c9fdff3b..958633de7e5e15ef532b01cf792dd6f9f1504895 100644 (file)
@@ -22,12 +22,11 @@ matrix:
 
 script:
   - JOB_NUMBER=$(echo $TRAVIS_JOB_NUMBER | sed -e 's:[0-9][0-9]*\.\(.*\):\1:')
-
   #  cron & master          => long tests, as this is the final step towards a Release
-  #  dev                    => normal tests
+  #  dev && pull requests   => normal tests
   #  other feature branches => short tests (number > 5)
-  - if [ "$TRAVIS_EVENT_TYPE" = "cron" ] || [ "$TRAVIS_BRANCH" = "asan" ]; then
-        FUZZERTEST=-T5mn sh -c "$Cmd" || travis_terminate 1;
+  - if [ "$TRAVIS_EVENT_TYPE" = "cron" ] || [ "$TRAVIS_BRANCH" = "master" ]; then
+        FUZZERTEST=-T7mn sh -c "$Cmd" || travis_terminate 1;
     else
         if [ "$TRAVIS_PULL_REQUEST" = "true" ] || [ $JOB_NUMBER -gt 5 ] || [ "$TRAVIS_BRANCH" = "dev" ]; then
             sh -c "$Cmd" || travis_terminate 1;
index c5b8bdfa7232e6a376c71e0256a6fe228dae80de..937ec96d3495f9c641512e93d8115ddeeda83c64 100644 (file)
@@ -170,7 +170,7 @@ namespaceTest:
        if $(CC) namespaceTest.c ../lib/common/xxhash.c -o $@ ; then echo compilation should fail; exit 1 ; fi
        $(RM) $@
 
-versionsTest:
+versionsTest: clean
        $(PYTHON) test-zstd-versions.py
 
 clean: