-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (35 loc) · 964 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
language: cpp
matrix:
include:
- os: osx
osx_image: xcode10.2
compiler: clang
install:
- pip install conan
- conan user
script:
- conan install . --build missing
- cmake .
- cmake --build .
- ctest
- os: linux
dist: xenial
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-8
env:
- MATRIX_EVAL="CC=gcc-8 && CXX=g++-8"
install:
- pip install --user conan
- conan user
script:
- conan install . -s compiler.libcxx=libstdc++11 --build missing
- cmake .
- cmake --build .
- ctest
before_install:
- eval "${MATRIX_EVAL}"