2017-03-07 12:08:15 -08:00
|
|
|
# Medium Tests: Run on all commits/PRs to dev branch
|
|
|
|
|
2015-01-23 16:58:16 -08:00
|
|
|
language: c
|
2017-02-22 00:21:04 -08:00
|
|
|
dist: trusty
|
2018-05-14 08:55:21 -07:00
|
|
|
sudo: required
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
update: true
|
|
|
|
|
2016-05-30 01:18:56 -07:00
|
|
|
matrix:
|
2016-06-04 15:23:20 -07:00
|
|
|
include:
|
2017-02-27 23:16:49 -08:00
|
|
|
# Ubuntu 14.04
|
2018-06-06 12:20:19 -07:00
|
|
|
- env: Cmd='make gcc6install && CC=gcc-6 make -j all && make clean && CC=gcc-6 make clean uasan-test-zstd'
|
2017-03-07 12:08:15 -08:00
|
|
|
- env: Cmd='make gcc6install libc6install && CC=gcc-6 make clean uasan-test-zstd32'
|
2018-01-16 11:40:42 -08:00
|
|
|
- env: Cmd='make gcc7install && CC=gcc-7 make clean uasan-test-zstd'
|
2017-03-07 12:08:15 -08:00
|
|
|
- env: Cmd='make clang38install && CC=clang-3.8 make clean msan-test-zstd'
|
|
|
|
|
|
|
|
- env: Cmd='make gcc6install && CC=gcc-6 make clean uasan-fuzztest'
|
|
|
|
- env: Cmd='make gcc6install libc6install && CC=gcc-6 CFLAGS=-m32 make clean uasan-fuzztest'
|
|
|
|
- env: Cmd='make clang38install && CC=clang-3.8 make clean msan-fuzztest'
|
|
|
|
- env: Cmd='make clang38install && CC=clang-3.8 make clean tsan-test-zstream'
|
|
|
|
|
2018-06-14 07:22:24 -07:00
|
|
|
- env: Cmd='make -C tests test-fuzzer-stackmode'
|
|
|
|
|
2017-03-07 12:08:15 -08:00
|
|
|
- env: Cmd='make valgrindinstall && make -C tests clean valgrindTest'
|
|
|
|
|
|
|
|
- env: Cmd='make arminstall && make armfuzz'
|
2018-06-27 13:19:14 -07:00
|
|
|
- env: Cmd='make arminstall && make aarch64fuzz'
|
2018-06-14 07:22:24 -07:00
|
|
|
|
2017-03-07 12:08:15 -08:00
|
|
|
- env: Cmd='make ppcinstall && make ppcfuzz'
|
|
|
|
- env: Cmd='make ppcinstall && make ppc64fuzz'
|
2018-06-06 12:20:19 -07:00
|
|
|
- env: Cmd='make -j uasanregressiontest && make clean && make -j msanregressiontest'
|
2016-11-14 04:07:45 -08:00
|
|
|
|
2017-09-21 17:30:43 -07:00
|
|
|
- env: Cmd='make lz4install && make -C tests test-lz4'
|
|
|
|
|
2018-06-06 15:16:37 -07:00
|
|
|
- env: Cmd='bash tests/libzstd_partial_builds.sh'
|
2018-06-14 07:22:24 -07:00
|
|
|
|
2018-01-14 17:06:21 -08:00
|
|
|
# tag-specific test
|
|
|
|
- if: tag =~ ^v[0-9]\.[0-9]
|
|
|
|
env: Cmd='make -C tests checkTag && tests/checkTag $TRAVIS_BRANCH'
|
|
|
|
|
2017-03-07 12:08:15 -08:00
|
|
|
git:
|
|
|
|
depth: 1
|
2017-01-02 15:25:01 -08:00
|
|
|
|
2017-03-07 12:08:15 -08:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- dev
|
|
|
|
- master
|
2016-01-11 07:39:42 -08:00
|
|
|
|
2016-06-04 15:23:20 -07:00
|
|
|
script:
|
2016-11-14 07:58:39 -08:00
|
|
|
- JOB_NUMBER=$(echo $TRAVIS_JOB_NUMBER | sed -e 's:[0-9][0-9]*\.\(.*\):\1:')
|
2017-02-27 23:20:53 -08:00
|
|
|
- echo JOB_NUMBER=$JOB_NUMBER TRAVIS_BRANCH=$TRAVIS_BRANCH TRAVIS_EVENT_TYPE=$TRAVIS_EVENT_TYPE TRAVIS_PULL_REQUEST=$TRAVIS_PULL_REQUEST
|
2017-03-07 12:08:15 -08:00
|
|
|
- export FUZZERTEST=-T2mn;
|
|
|
|
export ZSTREAM_TESTTIME=-T2mn;
|
|
|
|
export DECODECORPUS_TESTTIME=-T1mn;
|
|
|
|
sh -c "$Cmd" || travis_terminate 1;
|