149 lines
4.4 KiB
YAML
149 lines
4.4 KiB
YAML
language: c
|
|
matrix:
|
|
fast_finish: true
|
|
include:
|
|
# OS X Mavericks
|
|
- env: Ubu=OS_X_Mavericks Cmd="make gnu90test && make clean && make test && make clean && make travis-install"
|
|
os: osx
|
|
|
|
|
|
# Container-based Ubuntu 12.04 LTS Server Edition 64 bit (doesn't support 32-bit includes)
|
|
- env: Ubu=12.04cont Cmd="make test && make clean && make travis-install && make -C tests fullbench-dll fullbench-lib"
|
|
os: linux
|
|
sudo: false
|
|
|
|
- env: Ubu=12.04cont Cmd="make zlibwrapper && make clean && make -C tests test-zstd-nolegacy && make clean && make cmaketest && make clean && make -C contrib/pzstd googletest pzstd tests check && make -C contrib/pzstd clean"
|
|
os: linux
|
|
sudo: false
|
|
language: cpp
|
|
install:
|
|
- export CXX="g++-4.8" CC="gcc-4.8"
|
|
- export TESTFLAGS='--gtest_filter=-*ExtremelyLarge*'
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- gcc-4.8
|
|
- g++-4.8
|
|
|
|
- env: Ubu=12.04cont Cmd="make usan"
|
|
os: linux
|
|
sudo: false
|
|
|
|
- env: Ubu=12.04cont Cmd="make asan"
|
|
os: linux
|
|
sudo: false
|
|
|
|
|
|
# Standard Ubuntu 12.04 LTS Server Edition 64 bit
|
|
- env: Ubu=12.04 Cmd="make -C programs zstd-small zstd-decompress zstd-compress && make -C tests test-gzstd && make -C programs clean && make -C tests versionsTest"
|
|
os: linux
|
|
sudo: required
|
|
|
|
- env: Ubu=12.04 Cmd="make asan32"
|
|
os: linux
|
|
sudo: required
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- libc6-dev-i386
|
|
- gcc-multilib
|
|
|
|
- env: Ubu=12.04 Cmd='cd contrib/pzstd && make googletest && make tsan && make check && make clean && make asan && make check && make clean && cd ../..'
|
|
os: linux
|
|
sudo: required
|
|
install:
|
|
- export CXX="g++-6" CC="gcc-6"
|
|
- export LDFLAGS="-fuse-ld=gold"
|
|
- export TESTFLAGS='--gtest_filter=-*ExtremelyLarge*'
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- gcc-6
|
|
- g++-6
|
|
|
|
|
|
# Ubuntu 14.04 LTS Server Edition 64 bit
|
|
- env: Ubu=14.04 Cmd="make armtest && make clean && make aarch64test"
|
|
dist: trusty
|
|
sudo: required
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- qemu-system-arm
|
|
- qemu-user-static
|
|
- gcc-arm-linux-gnueabi
|
|
- libc6-dev-armel-cross
|
|
- gcc-aarch64-linux-gnu
|
|
- libc6-dev-arm64-cross
|
|
|
|
- env: Ubu=14.04 Cmd='make ppctest && make clean && make ppc64test'
|
|
dist: trusty
|
|
sudo: required
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- qemu-system-ppc
|
|
- qemu-user-static
|
|
- gcc-powerpc-linux-gnu
|
|
|
|
- env: Ubu=14.04 Cmd='make -C lib all && CFLAGS="-O1 -g" make -C zlibWrapper valgrindTest && make -C tests valgrindTest'
|
|
os: linux
|
|
dist: trusty
|
|
sudo: required
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- valgrind
|
|
|
|
- env: Ubu=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"
|
|
os: linux
|
|
dist: trusty
|
|
sudo: required
|
|
install:
|
|
- export CXX="g++-4.8" CC="gcc-4.8"
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- libc6-dev-i386
|
|
- g++-multilib
|
|
- gcc-4.8
|
|
- gcc-4.8-multilib
|
|
- g++-4.8
|
|
- g++-4.8-multilib
|
|
|
|
- env: Ubu=14.04 Cmd="make -C tests test32"
|
|
os: linux
|
|
dist: trusty
|
|
sudo: required
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- libc6-dev-i386
|
|
- gcc-multilib
|
|
|
|
- env: Ubu=14.04 Cmd="make gcc5test && make clean && make gcc6test"
|
|
os: linux
|
|
dist: trusty
|
|
sudo: required
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- gcc-multilib
|
|
- gcc-5
|
|
- gcc-5-multilib
|
|
- gcc-6
|
|
- gcc-6-multilib
|
|
|
|
script:
|
|
- JOB_NUMBER=$(echo $TRAVIS_JOB_NUMBER | sed -e 's:[0-9][0-9]*\.\(.*\):\1:')
|
|
# - if [ $JOB_NUMBER -eq 9 ] || [ $JOB_NUMBER -eq 10 ]; then sh -c "$Cmd"; fi
|
|
- sh -c "$Cmd"
|