Restructured .travis.yml

This commit is contained in:
Daniel Wolf 2016-09-11 10:29:17 +02:00
parent c679b8fb71
commit 111e40238d
1 changed files with 10 additions and 10 deletions

View File

@ -5,15 +5,15 @@ dist: trusty
matrix: matrix:
include: include:
- compiler: gcc - os: linux
compiler: gcc
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get -q update
install: install:
- sudo apt-get -y install g++-5 - sudo apt-get -y install g++-5
env: COMPILER=g++-5 - sudo apt-get -y install libboost-all-dev
before_install: script:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test - mkdir build
- sudo apt-get -q update - cd build
- sudo apt-get -y install libboost-all-dev - cmake -DCMAKE_CXX_COMPILER=g++-5 .. && make
script:
- mkdir build
- cd build
- cmake -DCMAKE_CXX_COMPILER=$COMPILER .. && make