mstch/.travis.yml

112 lines
2.6 KiB
YAML
Raw Normal View History

2015-04-22 17:34:21 +08:00
language: cpp
2015-10-12 08:07:24 +08:00
sudo: false
matrix:
include:
2015-10-12 08:11:42 +08:00
- env:
- COMPILER=g++-4.9
2015-10-12 19:04:29 +08:00
- WITH_UNIT_TESTS=ON
2015-10-12 08:07:24 +08:00
addons:
apt:
sources:
- ubuntu-toolchain-r-test
2015-10-12 08:11:42 +08:00
- boost-latest
- george-edison55-precise-backports
2015-10-12 08:07:24 +08:00
packages:
- g++-4.9
2015-10-12 08:11:42 +08:00
- cmake
- cmake-data
- libboost1.55-dev
- libboost-regex1.55-dev
- libboost-program-options1.55-dev
2015-10-12 08:24:14 +08:00
os: linux
2015-10-12 08:11:42 +08:00
- env:
- COMPILER=g++-4.8
2015-10-12 19:04:29 +08:00
- WITH_UNIT_TESTS=ON
2015-10-12 08:07:24 +08:00
addons:
apt:
sources:
- ubuntu-toolchain-r-test
2015-10-12 08:11:42 +08:00
- boost-latest
- george-edison55-precise-backports
2015-10-12 08:07:24 +08:00
packages:
- g++-4.8
2015-10-12 08:11:42 +08:00
- cmake
- cmake-data
- libboost1.55-dev
- libboost-regex1.55-dev
- libboost-program-options1.55-dev
2015-10-12 08:24:14 +08:00
os: linux
2015-10-12 08:11:42 +08:00
- env:
- COMPILER=g++-4.7
2015-10-12 19:04:29 +08:00
- WITH_UNIT_TESTS=ON
2015-10-12 08:07:24 +08:00
addons:
apt:
sources:
- ubuntu-toolchain-r-test
2015-10-12 08:11:42 +08:00
- boost-latest
- george-edison55-precise-backports
2015-10-12 08:07:24 +08:00
packages:
- g++-4.7
2015-10-12 08:11:42 +08:00
- cmake
- cmake-data
- libboost1.55-dev
- libboost-regex1.55-dev
- libboost-program-options1.55-dev
2015-10-12 08:24:14 +08:00
os: linux
2015-10-12 08:11:42 +08:00
- env:
- COMPILER=clang++-3.5
2015-10-12 19:04:29 +08:00
- WITH_UNIT_TESTS=ON
2015-10-12 08:07:24 +08:00
addons:
apt:
sources:
- llvm-toolchain-precise-3.5
2015-10-12 08:16:41 +08:00
- ubuntu-toolchain-r-test
2015-10-12 08:11:42 +08:00
- boost-latest
- george-edison55-precise-backports
2015-10-12 08:07:24 +08:00
packages:
- clang-3.5
2015-10-12 08:11:42 +08:00
- cmake
- cmake-data
- libboost1.55-dev
- libboost-regex1.55-dev
- libboost-program-options1.55-dev
2015-10-12 08:24:14 +08:00
os: linux
2015-10-12 08:11:42 +08:00
- env:
- COMPILER=clang++-3.6
2015-10-12 19:04:29 +08:00
- WITH_UNIT_TESTS=ON
2015-10-12 08:07:24 +08:00
addons:
apt:
sources:
- llvm-toolchain-precise-3.6
2015-10-12 08:16:41 +08:00
- ubuntu-toolchain-r-test
2015-10-12 08:11:42 +08:00
- boost-latest
- george-edison55-precise-backports
2015-10-12 08:07:24 +08:00
packages:
- clang-3.6
2015-10-12 08:11:42 +08:00
- cmake
- cmake-data
- libboost1.55-dev
- libboost-regex1.55-dev
- libboost-program-options1.55-dev
2015-10-12 08:24:14 +08:00
os: linux
- env:
2015-10-12 19:17:34 +08:00
- COMPILER=g++-4.8
2015-10-12 20:44:32 +08:00
- WITH_UNIT_TESTS=OFF
os: osx
- env:
- COMPILER=clang++
2015-10-13 17:22:22 +08:00
- WITH_UNIT_TESTS=ON
2015-10-12 08:24:14 +08:00
os: osx
2015-04-22 17:34:21 +08:00
before_script:
2015-05-12 14:11:01 +08:00
- export CXX=${COMPILER}
2015-10-12 08:24:14 +08:00
- ${COMPILER} --version
2015-04-22 17:34:21 +08:00
- mkdir build
- cd build
2015-10-12 19:08:14 +08:00
- cmake -DWITH_UNIT_TESTS=${WITH_UNIT_TESTS} ..
2015-04-22 17:34:21 +08:00
script: make
2015-04-22 17:41:13 +08:00
2015-04-22 18:35:34 +08:00
after_script: make test