-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (43 loc) · 956 Bytes
/
.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
language: cpp
sudo: required
dist: trusty
branches:
except:
- gh-pages
env:
global:
- DOXYFILE: $TRAVIS_BUILD_DIR/DOXYFILE
addons:
sonarcloud:
organization: laurelmcintyre-github
apt:
packages:
- doxygen
- doxygen-doc
- doxygen-latex
- doxygen-gui
- graphviz
- cmake-data
- cmake
before_install:
- ccache -z
script:
- sonar-scanner
- cmake . -DENABLE_COVERAGE_BUILD=ON
- make
- make test
- make html
compiler:
- g++
after_success:
- ccache -s
- bash <(curl -s https://codecov.io/bash)
- openssl aes-256-cbc -K $encrypted_b239be7d2938_key -iv $encrypted_b239be7d2938_iv -in deploy.enc -out deploy -d
- mv deploy ~/.ssh/id-rsa
- chmod 600 ~/.ssh/id-rsa
- chmod +x generateDocumentationAndDeploy.sh
- if [[ ${TRAVIS_JOB_NUMBER} = *.1 ]]; then ./generateDocumentationAndDeploy.sh; fi
cache:
ccache: true
directories:
- $HOME/.sonar