mirror of
https://github.com/facebook/zstd.git
synced 2025-10-16 00:04:24 -04:00
travis.yml: fix versionsTest target
This commit is contained in:
parent
2e8ae51f8c
commit
3d836bfd18
@ -22,12 +22,11 @@ matrix:
|
|||||||
|
|
||||||
script:
|
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
|
# dev && pull requests => normal tests
|
||||||
# other feature branches => short tests (number > 5)
|
# other feature branches => short tests (number > 5)
|
||||||
- if [ "$TRAVIS_EVENT_TYPE" = "cron" ] || [ "$TRAVIS_BRANCH" = "asan" ]; then
|
- if [ "$TRAVIS_EVENT_TYPE" = "cron" ] || [ "$TRAVIS_BRANCH" = "master" ]; then
|
||||||
FUZZERTEST=-T5mn sh -c "$Cmd" || travis_terminate 1;
|
FUZZERTEST=-T7mn sh -c "$Cmd" || travis_terminate 1;
|
||||||
else
|
else
|
||||||
if [ "$TRAVIS_PULL_REQUEST" = "true" ] || [ $JOB_NUMBER -gt 5 ] || [ "$TRAVIS_BRANCH" = "dev" ]; then
|
if [ "$TRAVIS_PULL_REQUEST" = "true" ] || [ $JOB_NUMBER -gt 5 ] || [ "$TRAVIS_BRANCH" = "dev" ]; then
|
||||||
sh -c "$Cmd" || travis_terminate 1;
|
sh -c "$Cmd" || travis_terminate 1;
|
||||||
|
@ -170,7 +170,7 @@ namespaceTest:
|
|||||||
if $(CC) namespaceTest.c ../lib/common/xxhash.c -o $@ ; then echo compilation should fail; exit 1 ; fi
|
if $(CC) namespaceTest.c ../lib/common/xxhash.c -o $@ ; then echo compilation should fail; exit 1 ; fi
|
||||||
$(RM) $@
|
$(RM) $@
|
||||||
|
|
||||||
versionsTest:
|
versionsTest: clean
|
||||||
$(PYTHON) test-zstd-versions.py
|
$(PYTHON) test-zstd-versions.py
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user