-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.travis.yml
45 lines (40 loc) · 1.09 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
language: cpp
sudo: false
_anchors:
- &gcc49-packages
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.9
- g++-4.9
matrix:
include:
# Linux GCC-4.6 debug tests_coverage
- compiler: gcc
env: TRAVIS_BUILD_TYPE=Debug TRAVIS_TESTS_COVERAGE=ON
# Linux GCC-4.6 debug google_double-conversion
- compiler: gcc
env: TRAVIS_BUILD_TYPE=Debug TRAVIS_FLOAT2STR_LIB=google_doubleconversion
# Linux GCC-4.9 release
- compiler: gcc-4.9
addons: *gcc49-packages
env: TRAVIS_BUILD_TYPE=Release TRAVIS_GCC_VERSION=4.9
# OSX Clang debug
- os: osx
compiler: clang
env: TRAVIS_BUILD_TYPE=Debug
# OSX Clang debug google_double-conversion
- os: osx
compiler: clang
env: TRAVIS_BUILD_TYPE=Debug TRAVIS_FLOAT2STR_LIB=google_doubleconversion
# OSX Clang release
- os: osx
compiler: clang
env: TRAVIS_BUILD_TYPE=Release
script:
- chmod +x scripts/travis-build.sh
- ./scripts/travis-build.sh
after_success:
- chmod +x scripts/travis-codecov.sh
- ./scripts/travis-codecov.sh