]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
.travis.yml: different tests for "master" branch
authorPrzemyslaw Skibinski <inikep@gmail.com>
Wed, 25 Jan 2017 10:57:28 +0000 (11:57 +0100)
committerNick Terrell <terrelln@fb.com>
Fri, 27 Jan 2017 18:43:03 +0000 (10:43 -0800)
.travis.yml

index ef39ae7f155de41780cee2295b313df119723c4d..bbd77500102ed262bcd8fee14ff505a6370f2d95 100644 (file)
@@ -170,6 +170,6 @@ matrix:
 script:
   - JOB_NUMBER=$(echo $TRAVIS_JOB_NUMBER | sed -e 's:[0-9][0-9]*\.\(.*\):\1:')
   #  dev => normal tests;  other feature branches => short tests (number > 11)
-  - if [ "$TRAVIS_PULL_REQUEST" = "true" ] || [ "$TRAVIS_BRANCH" = "dev" ] || [ $JOB_NUMBER -gt 11 ]; then sh -c "$Cmd"; fi
+  - if [ "$TRAVIS_BRANCH" != "master" ] && [ "$TRAVIS_BRANCH" = "dev" ] || [ "$TRAVIS_PULL_REQUEST" = "true" ] || [ $JOB_NUMBER -gt 11 ]; then sh -c "$Cmd"; fi
   #  master => long tests, as this is the final step towards a Release
-  - if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_BRANCH" = "master" ]; then FUZZERTEST=-T10mn sh -c "$Cmd"; fi
+  - if [ "$TRAVIS_BRANCH" = "master" ]; then FUZZERTEST=-T10mn sh -c "$Cmd"; fi