2015-01-23 16:58:16 -08:00
|
|
|
language: c
|
2016-05-30 01:18:56 -07:00
|
|
|
compiler: gcc
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
2016-06-04 15:23:20 -07:00
|
|
|
include:
|
2016-05-30 01:18:56 -07:00
|
|
|
# Container-based Ubuntu 12.04 LTS Server Edition 64 bit (doesn't support 32-bit includes)
|
2016-06-04 15:23:20 -07:00
|
|
|
- os: linux
|
2016-05-30 01:18:56 -07: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 01:19:35 -07:00
|
|
|
- os: linux
|
|
|
|
sudo: false
|
|
|
|
env: PLATFORM="Ubuntu 12.04 container" MAKE_PARAM=zlibwrapper
|
2016-05-30 01:18:56 -07: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-12 14:19:14 -07:00
|
|
|
- os: linux
|
|
|
|
sudo: required
|
|
|
|
env: PLATFORM="Ubuntu 12.04" MAKE_PARAM="-C tests versionsTest"
|
2016-05-30 01:18:56 -07: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 15:23:20 -07:00
|
|
|
- os: osx
|
2016-05-30 01:18:56 -07: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 07:39:42 -08:00
|
|
|
|
2015-01-23 16:58:16 -08:00
|
|
|
before_install:
|
2016-05-30 01:18:56 -07: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 16:12:13 -07:00
|
|
|
|
2016-06-04 15:23:20 -07:00
|
|
|
script:
|
2016-05-30 01:18:56 -07:00
|
|
|
- make $MAKE_PARAM
|