-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
26 lines (20 loc) · 727 Bytes
/
.travis.yml
File metadata and controls
26 lines (20 loc) · 727 Bytes
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
language: cpp
matrix:
include:
- os: linux
compiler: clang
- os: linux
compiler: g++-8
#env: CODECOV_TOKEN="----"
addons:
apt:
sources: 'ubuntu-toolchain-r-test'
packages: g++-8
- os: osx
- os: windows
script:
- if [ "$TRAVIS_OS_NAME" == "linux" ] && [ "$CXX" == "g++" ]; then sudo rm /usr/bin/g++; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ] && [ "$CXX" == "g++" ]; then sudo rm /usr/bin/gcov; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ] && [ "$CXX" == "g++" ]; then sudo ln -s /usr/bin/g++-8 /usr/bin/g++; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ] && [ "$CXX" == "g++" ]; then sudo ln -s /usr/bin/gcov-8 /usr/bin/gcov; fi
- ./tests/run.sh