-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
43 lines (37 loc) · 1.22 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
sudo: required
dist: bionic
language: cpp
# The `-fno-var-tracking` flag removes some debug information about templates from the build
# that we want most of the time, but can exhaust memory in CI.
matrix:
include:
- os: osx
osx_image: xcode10.3
compiler: clang
env: BUILD_TYPE=Debug
env: CXXFLAGS=-fno-var-tracking
- os: osx
osx_image: xcode10.3
compiler: clang
env: BUILD_TYPE=Release
env: CXXFLAGS=-fno-var-tracking
before_script:
- mkdir build
- cd build
- cmake -E env CXXFLAGS="-fno-var-tracking" cmake -G"Xcode" .. -DCMAKE_BUILD_TYPE="$BUILD_TYPE" -DCMAKE_CXX_FLAGS="$CXX_FLAGS" -DMEZZ_BuildDoxygen=OFF -DMEZZ_CodeCoverage=ON
- cmake -E env CXXFLAGS="-fno-var-tracking" cmake -G"Xcode" .. -DCMAKE_BUILD_TYPE="$BUILD_TYPE" -DCMAKE_CXX_FLAGS="$CXX_FLAGS" -DMEZZ_BuildDoxygen=OFF -DMEZZ_CodeCoverage=ON
script:
- cmake --build .
- ./Test_Tester xml
- ./Test_Tester skipsummary
- ./Test_Tester automatic
- ./Test_Tester Debug All Skip-LoudTests
after_success:
- cmake --build . TestCoverage
- bash <(curl -s https://codecov.io/bash)
notifications:
email:
recipients:
on_success: change
on_failure: always