forked from GENIVI/CANdevStudio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (35 loc) · 1.14 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
sudo: required
language: cpp
dist: trusty
group: edge
notifications:
email: false
services:
docker
# Blacklist
branches:
except:
- gh-pages
before_install:
- env
- echo refs/heads/$TRAVIS_BRANCH~ refs/heads/$TRAVIS_BRANCH refs/heads/$TRAVIS_BRANCH | ./.trigger_appveyor.rb || true
- export ci_env=`bash <(curl -s https://codecov.io/env)`
script:
- export CC=gcc-6 CXX=g++-6 CMAKE_BUILD_TYPE=Debug WITH_COVERAGE=ON
- ./.travis.sh
- export CC=gcc-53 CXX=g++-53 CMAKE_BUILD_TYPE=Release WITH_COVERAGE=OFF
- ./.travis.sh
- export CC=gcc-53 CXX=g++-53 CMAKE_BUILD_TYPE=Debug WITH_COVERAGE=OFF
- ./.travis.sh
- export CC=clang-3.5 CXX=clang++-3.5 CMAKE_BUILD_TYPE=Release WITH_COVERAGE=OFF
- ./.travis.sh
- export CC=clang-3.5 CXX=clang++-3.5 CMAKE_BUILD_TYPE=Debug WITH_COVERAGE=OFF
- ./.travis.sh
# Generate and deploy documentation
after_success:
- cd $TRAVIS_BUILD_DIR
- chmod +x .travis_doxygen.sh
- docker run
$ci_env -e DOXYFILE -e GH_REPO_NAME -e GH_REPO_REF -e GH_REPO_TOKEN -e TRAVIS_BUILD_NUMBER
-v `pwd`:/root/sources rkollataj/candevstudio /bin/bash
-c "cd /root/sources && ./.travis_doxygen.sh"