travis osx test

This commit is contained in:
Daniel Sipka 2015-10-12 02:24:14 +02:00
parent bcf57c84ff
commit 09f7330acd

View file

@ -18,6 +18,7 @@ matrix:
- libboost1.55-dev - libboost1.55-dev
- libboost-regex1.55-dev - libboost-regex1.55-dev
- libboost-program-options1.55-dev - libboost-program-options1.55-dev
os: linux
- env: - env:
- COMPILER=g++-4.8 - COMPILER=g++-4.8
addons: addons:
@ -33,6 +34,7 @@ matrix:
- libboost1.55-dev - libboost1.55-dev
- libboost-regex1.55-dev - libboost-regex1.55-dev
- libboost-program-options1.55-dev - libboost-program-options1.55-dev
os: linux
- env: - env:
- COMPILER=g++-4.7 - COMPILER=g++-4.7
addons: addons:
@ -48,6 +50,7 @@ matrix:
- libboost1.55-dev - libboost1.55-dev
- libboost-regex1.55-dev - libboost-regex1.55-dev
- libboost-program-options1.55-dev - libboost-program-options1.55-dev
os: linux
- env: - env:
- COMPILER=clang++-3.5 - COMPILER=clang++-3.5
addons: addons:
@ -64,6 +67,7 @@ matrix:
- libboost1.55-dev - libboost1.55-dev
- libboost-regex1.55-dev - libboost-regex1.55-dev
- libboost-program-options1.55-dev - libboost-program-options1.55-dev
os: linux
- env: - env:
- COMPILER=clang++-3.6 - COMPILER=clang++-3.6
addons: addons:
@ -80,9 +84,15 @@ matrix:
- libboost1.55-dev - libboost1.55-dev
- libboost-regex1.55-dev - libboost-regex1.55-dev
- libboost-program-options1.55-dev - libboost-program-options1.55-dev
os: linux
- env:
- COMPILER=clang++
os: osx
before_script: before_script:
- if [[ "${TRAVIS_OS_NAME}" == 'osx' ]]; then brew install boost cmake; fi
- export CXX=${COMPILER} - export CXX=${COMPILER}
- ${COMPILER} --version
- mkdir build - mkdir build
- cd build - cd build
- cmake -DWITH_UNIT_TESTS=ON .. - cmake -DWITH_UNIT_TESTS=ON ..