Restructured .travis.yml
This commit is contained in:
parent
c679b8fb71
commit
111e40238d
14
.travis.yml
14
.travis.yml
|
@ -5,15 +5,15 @@ dist: trusty
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- compiler: gcc
|
- os: linux
|
||||||
install:
|
compiler: gcc
|
||||||
- sudo apt-get -y install g++-5
|
before_install:
|
||||||
env: COMPILER=g++-5
|
|
||||||
before_install:
|
|
||||||
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
||||||
- sudo apt-get -q update
|
- sudo apt-get -q update
|
||||||
|
install:
|
||||||
|
- sudo apt-get -y install g++-5
|
||||||
- sudo apt-get -y install libboost-all-dev
|
- sudo apt-get -y install libboost-all-dev
|
||||||
script:
|
script:
|
||||||
- mkdir build
|
- mkdir build
|
||||||
- cd build
|
- cd build
|
||||||
- cmake -DCMAKE_CXX_COMPILER=$COMPILER .. && make
|
- cmake -DCMAKE_CXX_COMPILER=g++-5 .. && make
|
||||||
|
|
Loading…
Reference in New Issue