This repository has been archived on 2023-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
plasp/.travis.yml

43 lines
1006 B
YAML
Raw Normal View History

2016-05-20 22:19:40 +02:00
# Use container-based distribution
sudo: false
language: c++
2016-10-10 18:22:56 +02:00
addons:
apt:
sources: &default_sources
2016-10-10 18:22:56 +02:00
- ubuntu-toolchain-r-test
- boost-latest
packages: &default_packages
2016-10-10 18:22:56 +02:00
- libboost-program-options1.55-dev
- libboost-iostreams1.55-dev
- libboost-system1.55-dev
- libboost-filesystem1.55-dev
2016-05-20 22:19:40 +02:00
matrix:
include:
- env: COMPILER_NAME=g++ _CXX=g++-5
os: linux
language: cpp
2016-05-20 22:19:40 +02:00
addons:
apt:
sources:
- *default_sources
2016-05-20 22:19:40 +02:00
packages:
- *default_packages
2016-05-20 22:19:40 +02:00
- g++-5
- env: COMPILER_NAME=g++ _CXX=g++-6
os: linux
language: cpp
2016-10-10 18:22:56 +02:00
addons:
apt:
sources:
- *default_sources
2016-10-10 18:22:56 +02:00
packages:
- *default_packages
2016-10-10 18:22:56 +02:00
- g++-6
2016-05-20 22:19:40 +02:00
script:
- git submodule init
- git submodule update
2016-05-20 22:19:40 +02:00
- mkdir build
- cd build
- cmake .. -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTS=ON -DCMAKE_CXX_COMPILER=$_CXX
- make -j3 && make -j3 run-tests