2015-01-24 08:58:16 +08:00
language : c
2016-05-30 16:18:56 +08:00
compiler : gcc
matrix :
fast_finish : true
2016-06-05 06:23:20 +08:00
include :
2016-09-23 20:59:46 +08:00
# OS X Mavericks
- os : osx
env : PLATFORM="OS X Mavericks" CMD="make gnu90test && make clean && make test && make clean && make travis-install"
# Container-based Ubuntu 12.04 LTS Server Edition 64 bit (doesn't support 32-bit includes)
2016-05-30 16:18:56 +08:00
- os : linux
2016-09-23 20:59:46 +08:00
sudo : false
env : PLATFORM="Ubuntu 12.04 container" CMD="make test && make clean && make travis-install"
- os : linux
sudo : false
language : cpp
install :
- export CXX="g++-4.8" CC="gcc-4.8"
addons :
apt :
sources :
- ubuntu-toolchain-r-test
packages :
- gcc-4.8
- g++-4.8
2016-10-07 09:17:08 +08:00
env : PLATFORM="Ubuntu 12.04 container" CMD="make zlibwrapper && make clean && make -C tests test-zstd_nolegacy && make clean && make clean && make cmaketest && make clean && make -C contrib/pzstd googletest && make -C contrib/pzstd all && make -C contrib/pzstd check && make -C contrib/pzstd clean"
2016-09-23 20:59:46 +08:00
- os : linux
sudo : false
env : PLATFORM="Ubuntu 12.04 container" CMD="make usan"
- os : linux
sudo : false
env : PLATFORM="Ubuntu 12.04 container" CMD="make asan"
# Standard Ubuntu 12.04 LTS Server Edition 64 bit
- os : linux
sudo : required
env : PLATFORM="Ubuntu 12.04" CMD="make armtest"
addons :
apt :
packages :
- gcc-arm-linux-gnueabi
- libc6-dev-armel-cross
- linux-libc-dev-armel-cross
- binfmt-support
- qemu
- qemu-user-static
- os : linux
sudo : required
2016-10-06 19:23:52 +08:00
env : PLATFORM="Ubuntu 12.04" CMD="make -C programs zstd-small && make -C programs zstd-decompress && make -C programs zstd-compress && make -C programs clean && make -C tests versionsTest"
2016-09-23 20:59:46 +08:00
- os : linux
sudo : required
env : PLATFORM="Ubuntu 12.04" CMD="make asan32"
addons :
apt :
sources :
- ubuntu-toolchain-r-test
packages :
- libc6-dev-i386
- gcc-multilib
2016-10-07 12:32:06 +08:00
- os : linux
sudo : required
install :
- export CXX="g++-6" CC="gcc-6"
- export LDFLAGS="-fuse-ld=gold"
- export TESTFLAGS='--gtest_filter=-*ExtremelyLarge*'
env : PLATFORM="Ubuntu 12.04" CMD='cd contrib/pzstd && make googletest && make tsan && make check && make clean && make asan && make check && make clean && cd ../..'
addons :
apt :
sources :
- ubuntu-toolchain-r-test
packages :
- gcc-6
- g++-6
2016-09-23 20:59:46 +08:00
# Ubuntu 14.04 LTS Server Edition 64 bit
- os : linux
dist : trusty
2016-05-30 16:18:56 +08:00
sudo : required
2016-09-23 22:20:13 +08:00
env : PLATFORM="Ubuntu 14.04" CMD='make -C lib all && CFLAGS="-O1 -g" make -C zlibWrapper valgrindTest && make -C tests valgrindTest'
2016-08-17 20:17:54 +08:00
addons :
apt :
packages :
2016-09-12 20:33:23 +08:00
- valgrind
2016-05-30 16:18:56 +08:00
- os : linux
dist : trusty
sudo : required
2016-09-23 08:45:24 +08:00
install :
- export CXX="g++-4.8" CC="gcc-4.8"
2016-10-07 09:17:08 +08:00
env : PLATFORM="Ubuntu 14.04" CMD="make gpptest && make clean && make gnu90test && make clean && make c99test && make clean && make gnu99test && make clean && make clangtest && make clean && make -C contrib/pzstd googletest32 && make -C contrib/pzstd all32 && make -C contrib/pzstd check && make -C contrib/pzstd clean"
2016-09-23 20:59:46 +08:00
addons :
apt :
packages :
- libc6-dev-i386
2016-09-23 08:45:24 +08:00
- g++-multilib
- gcc-4.8
- gcc-4.8-multilib
- g++-4.8
- g++-4.8-multilib
2016-09-23 20:59:46 +08:00
- os : linux
dist : trusty
sudo : required
env : PLATFORM="Ubuntu 14.04" CMD="make -C tests test32"
addons :
apt :
packages :
- libc6-dev-i386
- gcc-multilib
- os : linux
dist : trusty
sudo : required
env : PLATFORM="Ubuntu 14.04" CMD="make gcc5test && make clean && make gcc6test && sudo apt-get install -y -q qemu-system-ppc binfmt-support qemu-user-static gcc-powerpc-linux-gnu && make clean && make ppctest"
2016-08-17 20:17:54 +08:00
addons :
apt :
sources :
- ubuntu-toolchain-r-test
packages :
2016-08-17 23:31:08 +08:00
- gcc-multilib
- gcc-5
2016-08-17 20:17:54 +08:00
- gcc-5-multilib
2016-08-17 23:31:08 +08:00
- gcc-6
2016-08-17 20:17:54 +08:00
- gcc-6-multilib
2016-05-30 16:18:56 +08:00
exclude :
- compiler : gcc
2016-01-11 23:39:42 +08:00
2016-06-05 06:23:20 +08:00
script :
2016-06-22 00:04:13 +08:00
- sh -c "$CMD"