You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ck/.travis.yml

41 lines
635 B

# sudo required as tests set cpu affinity
sudo: false
os:
- linux
- linux-ppc64le
- osx
language:
- c
compiler:
- gcc
- clang
matrix:
exclude:
- os: osx
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-6.0
packages:
- gcc-8
- clang-6.0
script:
- >
if [[ $TRAVIS_OS_NAME == linux ]]; then
case "$CC" in
gcc) export CC=gcc-8 ;;
clang) export CC=clang-6.0 ;;
esac
fi
- ${CC} --version
- export CFLAGS="-DITERATE=400 -DPAIRS_S=100 -DITERATIONS=24"
- ./tools/ci-build.sh --cores=4
- make check