Added Travis target for g++ 6.
This commit is contained in:
parent
1f7ee57889
commit
5d8c143e60
33
.travis.yml
33
.travis.yml
@ -1,25 +1,42 @@
|
|||||||
# Use container-based distribution
|
# Use container-based distribution
|
||||||
sudo: false
|
sudo: false
|
||||||
language: c++
|
language: c++
|
||||||
matrix:
|
|
||||||
include:
|
|
||||||
- compiler: gcc
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
sources:
|
sources: &default_sources
|
||||||
- ubuntu-toolchain-r-test
|
- ubuntu-toolchain-r-test
|
||||||
- boost-latest
|
- boost-latest
|
||||||
packages:
|
packages: &default_packages
|
||||||
- g++-5
|
|
||||||
- libboost-program-options1.55-dev
|
- libboost-program-options1.55-dev
|
||||||
- libboost-iostreams1.55-dev
|
- libboost-iostreams1.55-dev
|
||||||
- libboost-system1.55-dev
|
- libboost-system1.55-dev
|
||||||
- libboost-filesystem1.55-dev
|
- libboost-filesystem1.55-dev
|
||||||
env: COMPILER=g++-5
|
matrix:
|
||||||
|
include:
|
||||||
|
- env: COMPILER_NAME=g++ _CXX=g++-5
|
||||||
|
os: linux
|
||||||
|
language: cpp
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
sources:
|
||||||
|
- *default_sources
|
||||||
|
packages:
|
||||||
|
- *default_packages
|
||||||
|
- g++-5
|
||||||
|
- env: COMPILER_NAME=g++ _CXX=g++-6
|
||||||
|
os: linux
|
||||||
|
language: cpp
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
sources:
|
||||||
|
- *default_sources
|
||||||
|
packages:
|
||||||
|
- *default_packages
|
||||||
|
- g++-6
|
||||||
script:
|
script:
|
||||||
- git submodule init
|
- git submodule init
|
||||||
- git submodule update
|
- git submodule update
|
||||||
- mkdir build
|
- mkdir build
|
||||||
- cd build
|
- cd build
|
||||||
- cmake .. -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTS=ON -DCMAKE_CXX_COMPILER=$COMPILER
|
- cmake .. -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTS=ON -DCMAKE_CXX_COMPILER=$_CXX
|
||||||
- make -j3 && make -j3 run-tests
|
- make -j3 && make -j3 run-tests
|
||||||
|
Reference in New Issue
Block a user