From: Przemyslaw Skibinski Date: Tue, 28 Feb 2017 07:16:49 +0000 (+0100) Subject: updated .travis.yml X-Git-Tag: v1.1.4~1^2~34^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca1d3d423273812c4eebb1ae568a06e6d12278fb;p=thirdparty%2Fzstd.git updated .travis.yml --- diff --git a/.travis.yml b/.travis.yml index 3c77a17e1..8399bd8a0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ dist: trusty matrix: fast_finish: true include: - # other feature branches => short tests + # Ubuntu 14.04 - env: Cmd="make libc6install && make -C tests test32" - env: Cmd='make valgrindinstall arminstall ppcinstall arm-ppc-compilation && make clean lib && CFLAGS="-O1 -g" make -C zlibWrapper valgrindTest && make -C tests valgrindTest' @@ -25,10 +25,11 @@ script: # cron & master => full tests, as this is the final step towards a Release # pull requests => normal tests (job numbers 1-3) # other feature branches => short tests (job numbers 1-2) + - @echo JOB_NUMBER=$JOB_NUMBER TRAVIS_BRANCH=$TRAVIS_BRANCH TRAVIS_EVENT_TYPE=$TRAVIS_EVENT_TYPE TRAVIS_PULL_REQUEST=$TRAVIS_PULL_REQUEST - 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 -lt 4 ]; then + if [ "$TRAVIS_PULL_REQUEST" = "true" ] && [ $JOB_NUMBER -lt 4 ]; then sh -c "$Cmd" || travis_terminate 1; else if [ $JOB_NUMBER -lt 3 ]; then