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