2015-01-24 00:58:16 +00:00
|
|
|
language: c
|
2016-05-30 08:18:56 +00:00
|
|
|
compiler: gcc
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
2016-06-04 22:23:20 +00:00
|
|
|
include:
|
2016-05-30 08:18:56 +00:00
|
|
|
# Container-based Ubuntu 12.04 LTS Server Edition 64 bit (doesn't support 32-bit includes)
|
2016-06-04 22:23:20 +00:00
|
|
|
- os: linux
|
2016-05-30 08:18:56 +00:00
|
|
|
sudo: false
|
|
|
|
env: PLATFORM="Ubuntu 12.04 container" MAKE_PARAM=travis-install
|
|
|
|
- os: linux
|
|
|
|
sudo: false
|
|
|
|
env: PLATFORM="Ubuntu 12.04 container" MAKE_PARAM=cmaketest
|
|
|
|
- os: linux
|
|
|
|
sudo: false
|
|
|
|
env: PLATFORM="Ubuntu 12.04 container" MAKE_PARAM=test
|
|
|
|
- os: linux
|
|
|
|
sudo: false
|
|
|
|
env: PLATFORM="Ubuntu 12.04 container" MAKE_PARAM="-C programs test-zstd_nolegacy"
|
|
|
|
- os: linux
|
|
|
|
sudo: false
|
|
|
|
env: PLATFORM="Ubuntu 12.04 container" MAKE_PARAM=usan
|
|
|
|
- os: linux
|
|
|
|
sudo: false
|
|
|
|
env: PLATFORM="Ubuntu 12.04 container" MAKE_PARAM=asan
|
2016-06-02 08:19:35 +00:00
|
|
|
- os: linux
|
|
|
|
sudo: false
|
|
|
|
env: PLATFORM="Ubuntu 12.04 container" MAKE_PARAM=zlibwrapper
|
2016-05-30 08:18:56 +00:00
|
|
|
# Standard Ubuntu 12.04 LTS Server Edition 64 bit
|
|
|
|
- os: linux
|
|
|
|
sudo: required
|
|
|
|
env: PLATFORM="Ubuntu 12.04" MAKE_PARAM=clangtest
|
|
|
|
- os: linux
|
|
|
|
sudo: required
|
|
|
|
env: PLATFORM="Ubuntu 12.04" MAKE_PARAM=gpptest
|
|
|
|
- os: linux
|
|
|
|
sudo: required
|
|
|
|
env: PLATFORM="Ubuntu 12.04" MAKE_PARAM=gnu90test
|
|
|
|
- os: linux
|
|
|
|
sudo: required
|
|
|
|
env: PLATFORM="Ubuntu 12.04" MAKE_PARAM=c99test
|
|
|
|
- os: linux
|
|
|
|
sudo: required
|
|
|
|
env: PLATFORM="Ubuntu 12.04" MAKE_PARAM=gnu99test
|
|
|
|
- os: linux
|
|
|
|
sudo: required
|
|
|
|
env: PLATFORM="Ubuntu 12.04" MAKE_PARAM=armtest-w-install
|
|
|
|
- os: linux
|
|
|
|
sudo: required
|
|
|
|
env: PLATFORM="Ubuntu 12.04" MAKE_PARAM="-C programs test32"
|
2016-06-04 22:23:20 +00:00
|
|
|
# - os: linux
|
|
|
|
# sudo: required
|
2016-06-09 09:42:36 +00:00
|
|
|
# env: PLATFORM="Ubuntu 12.04" MAKE_PARAM="-C tests versionsTest"
|
2016-05-30 08:18:56 +00:00
|
|
|
- os: linux
|
|
|
|
sudo: required
|
|
|
|
env: PLATFORM="Ubuntu 12.04" MAKE_PARAM=asan32
|
|
|
|
- os: linux
|
|
|
|
sudo: required
|
|
|
|
env: PLATFORM="Ubuntu 12.04" MAKE_PARAM="-C programs valgrindTest"
|
|
|
|
# Ubuntu 14.04 LTS Server Edition 64 bit
|
|
|
|
- os: linux
|
|
|
|
dist: trusty
|
|
|
|
sudo: required
|
|
|
|
env: PLATFORM="Ubuntu 14.04" MAKE_PARAM=ppctest-w-install
|
|
|
|
- os: linux
|
|
|
|
dist: trusty
|
|
|
|
sudo: required
|
|
|
|
env: PLATFORM="Ubuntu 14.04" MAKE_PARAM=zlibwrapper
|
|
|
|
# OS X Mavericks
|
2016-06-04 22:23:20 +00:00
|
|
|
- os: osx
|
2016-05-30 08:18:56 +00:00
|
|
|
env: PLATFORM="OS X Mavericks" MAKE_PARAM=travis-install
|
|
|
|
- os: osx
|
|
|
|
env: PLATFORM="OS X Mavericks" MAKE_PARAM=gnu90test
|
|
|
|
- os: osx
|
|
|
|
env: PLATFORM="OS X Mavericks" MAKE_PARAM=test
|
|
|
|
exclude:
|
|
|
|
- compiler: gcc
|
2016-01-11 15:39:42 +00:00
|
|
|
|
2015-01-24 00:58:16 +00:00
|
|
|
before_install:
|
2016-05-30 08:18:56 +00:00
|
|
|
- set -e
|
|
|
|
- |
|
|
|
|
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
|
|
|
|
CAN_I_RUN_SUDO=$(sudo -n uptime 2>&1|grep "load"|wc -l)
|
|
|
|
echo "CAN_I_RUN_SUDO=$CAN_I_RUN_SUDO\n"
|
|
|
|
if [ ${CAN_I_RUN_SUDO} -gt 0 ]; then
|
|
|
|
sudo apt-get install -y -qq clang g++-multilib gcc-multilib valgrind
|
|
|
|
fi
|
|
|
|
fi
|
2016-05-29 23:12:13 +00:00
|
|
|
|
2016-06-04 22:23:20 +00:00
|
|
|
script:
|
2016-05-30 08:18:56 +00:00
|
|
|
- make $MAKE_PARAM
|