102 lines
2.5 KiB
YAML
102 lines
2.5 KiB
YAML
language: cpp
|
|
sudo: false
|
|
|
|
matrix:
|
|
include:
|
|
- env:
|
|
- COMPILER=g++-4.9
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
- boost-latest
|
|
- george-edison55-precise-backports
|
|
packages:
|
|
- g++-4.9
|
|
- cmake
|
|
- cmake-data
|
|
- libboost1.55-dev
|
|
- libboost-regex1.55-dev
|
|
- libboost-program-options1.55-dev
|
|
os: linux
|
|
- env:
|
|
- COMPILER=g++-4.8
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
- boost-latest
|
|
- george-edison55-precise-backports
|
|
packages:
|
|
- g++-4.8
|
|
- cmake
|
|
- cmake-data
|
|
- libboost1.55-dev
|
|
- libboost-regex1.55-dev
|
|
- libboost-program-options1.55-dev
|
|
os: linux
|
|
- env:
|
|
- COMPILER=g++-4.7
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
- boost-latest
|
|
- george-edison55-precise-backports
|
|
packages:
|
|
- g++-4.7
|
|
- cmake
|
|
- cmake-data
|
|
- libboost1.55-dev
|
|
- libboost-regex1.55-dev
|
|
- libboost-program-options1.55-dev
|
|
os: linux
|
|
- env:
|
|
- COMPILER=clang++-3.5
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- llvm-toolchain-precise-3.5
|
|
- ubuntu-toolchain-r-test
|
|
- boost-latest
|
|
- george-edison55-precise-backports
|
|
packages:
|
|
- clang-3.5
|
|
- cmake
|
|
- cmake-data
|
|
- libboost1.55-dev
|
|
- libboost-regex1.55-dev
|
|
- libboost-program-options1.55-dev
|
|
os: linux
|
|
- env:
|
|
- COMPILER=clang++-3.6
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- llvm-toolchain-precise-3.6
|
|
- ubuntu-toolchain-r-test
|
|
- boost-latest
|
|
- george-edison55-precise-backports
|
|
packages:
|
|
- clang-3.6
|
|
- cmake
|
|
- cmake-data
|
|
- libboost1.55-dev
|
|
- libboost-regex1.55-dev
|
|
- libboost-program-options1.55-dev
|
|
os: linux
|
|
- env:
|
|
- COMPILER=clang++
|
|
os: osx
|
|
|
|
before_script:
|
|
- if [[ "${TRAVIS_OS_NAME}" == 'osx' ]]; then brew install boost cmake; fi
|
|
- export CXX=${COMPILER}
|
|
- ${COMPILER} --version
|
|
- mkdir build
|
|
- cd build
|
|
- cmake -DWITH_UNIT_TESTS=ON ..
|
|
|
|
script: make
|
|
|
|
after_script: make test
|