xlnt/.travis.yml

34 lines
746 B
YAML
Raw Normal View History

# from: https://github.com/nlohmann/json/blob/master/.travis.yml
2015-10-27 04:47:36 +08:00
language: cpp
sudo: required
dist: trusty
notifications:
email: false
matrix:
include:
- os: linux
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
2017-03-06 11:48:15 +08:00
- g++-6 zlib1g libcrypto++9 libcrypto++9-dbg libcrypto++-dev cxxtest
env:
2017-01-03 03:03:48 +08:00
- COMPILER=g++-6
- COVERAGE=OFF
2017-01-03 02:57:56 +08:00
- STATIC=ON
2016-11-01 10:47:09 +08:00
- SAMPLES=ON
- BENCHMARKS=ON
script:
- mkdir build
- cd build
- cmake -D STATIC=$STATIC -D BENCHMARKS=$BENCHMARKS -D SAMPLES=$SAMPLES -D COVERAGE=$COVERAGE -D CMAKE_CXX_COMPILER=$COMPILER -D CMAKE_BUILD_TYPE=Debug ..
- cmake --build .
- cd bin && ./xlnt.test