Fix travis and allow clang failures

This commit is contained in:
Sebastian Messmer 2016-02-11 04:28:16 +01:00
parent ed64b49adf
commit 007934b946

View File

@ -10,6 +10,7 @@ os:
matrix: matrix:
allow_failures: allow_failures:
- os: osx - os: osx
- compiler: clang
addons: addons:
apt: apt:
packages: packages:
@ -18,10 +19,11 @@ install:
- wget -O boost.tar.bz2 https://sourceforge.net/projects/boost/files/boost/1.56.0/boost_1_56_0.tar.bz2/download - wget -O boost.tar.bz2 https://sourceforge.net/projects/boost/files/boost/1.56.0/boost_1_56_0.tar.bz2/download
- tar -xf boost.tar.bz2 - tar -xf boost.tar.bz2
- cd boost_1_56_0 - cd boost_1_56_0
# TODO We should use clang as toolchain for building boost when clang is used for building our code
- ./bootstrap.sh --with-libraries=filesystem,thread - ./bootstrap.sh --with-libraries=filesystem,thread
- sudo ./b2 -d0 install - sudo ./b2 -d0 install
- cd .. - cd ..
- rm -rf boost.tar.bz2 boost_1_56_0 - sudo rm -rf boost.tar.bz2 boost_1_56_0
script: script:
- mkdir cmake - mkdir cmake
- cd cmake - cd cmake