mirror of
https://github.com/facebook/zstd.git
synced 2025-12-01 23:57:51 +03:00
fix travis.yml
This commit is contained in:
@@ -171,10 +171,10 @@ script:
|
|||||||
- JOB_NUMBER=$(echo $TRAVIS_JOB_NUMBER | sed -e 's:[0-9][0-9]*\.\(.*\):\1:')
|
- 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
|
# cron & master => long tests, as this is the final step towards a Release
|
||||||
|
# dev => normal tests; other feature branches => short tests (number > 11)
|
||||||
- if [ "$TRAVIS_EVENT_TYPE" = "cron" ] || [ "$TRAVIS_BRANCH" = "master" ]; then
|
- if [ "$TRAVIS_EVENT_TYPE" = "cron" ] || [ "$TRAVIS_BRANCH" = "master" ]; then
|
||||||
FUZZERTEST=-T10mn sh -c "$Cmd" || travis_terminate 1;
|
FUZZERTEST=-T10mn sh -c "$Cmd" || travis_terminate 1;
|
||||||
else
|
else
|
||||||
# dev => normal tests; other feature branches => short tests (number > 11)
|
|
||||||
if [ "$TRAVIS_PULL_REQUEST" = "true" ] || [ $JOB_NUMBER -gt 11 ] || [ "$TRAVIS_BRANCH" = "dev" ]; then
|
if [ "$TRAVIS_PULL_REQUEST" = "true" ] || [ $JOB_NUMBER -gt 11 ] || [ "$TRAVIS_BRANCH" = "dev" ]; then
|
||||||
sh -c "$Cmd" || travis_terminate 1;
|
sh -c "$Cmd" || travis_terminate 1;
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user