-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy path.travis.yml
57 lines (50 loc) · 1.19 KB
/
.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
language: cpp
python:
- 3.8
install:
- which pip
- which pip3
- ls -al `which pip`*
- pip --version
- pip3 --version
- pip3 install --user conan cmake
jobs:
include:
- os: osx
compiler: clang
osx_image: xcode11.2
env:
- MACOSX_DEPLOYMENT_TARGET=10.14
- PATH="${HOME}/Library/Python/2.7/bin:${PATH}"
- MATRIX_EVAL=""
- os: linux
dist: bionic
compiler: gcc
env:
- GCC_VER="9"
- MATRIX_EVAL="CC=gcc-${GCC_VER} && CXX=g++-${GCC_VER}"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
# I couldn't get ${GCC_VER} in here successfully
- gcc-9
- g++-9
- doxygen
- python3
- python3.8
after_script:
- bash <(curl -s https://codecov.io/bash) -x /usr/bin/gcov-${GCC_VER}
- os: linux
dist: bionic
compiler: clang
env:
- MATRIX_EVAL="CC=clang-8 && CXX=clang++-8"
addons: { apt: { packages: ['doxygen', 'clang-8'] } }
before_script:
- eval "${MATRIX_EVAL}"
script:
- cmake -D ENABLE_COVERAGE:BOOL=TRUE .
- cmake --build . -- -j2
- ctest -j2