-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (34 loc) · 886 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
# This will run on Travis' 'new' container-based infrastructure
sudo: false
# Blacklist
branches:
only:
- master
# Environment variables
env:
global:
- GH_REPO_NAME: <your_repo>
- DOXYFILE: $TRAVIS_BUILD_DIR/documentation/Doxyfile
- GH_REPO_REF: github.com/flajann2/gravity-set-compute.git
# Install dependencies
addons:
apt:
packages:
- doxygen
- doxygen-doc
- doxygen-latex
- doxygen-gui
- graphviz
# Maybe this fixes problem with the submodules???
before_install:
- git submodule update --init --recursive
# Build your code e.g. by calling make
script:
- mkdir $TRAVIS_BUILD_DIR/build
- cd $TRAVIS_BUILD_DIR/build
- cmake .. -DENABLE_DOXYGEN=On
# Generate and deploy documentation
after_success:
- cd $TRAVIS_BUILD_DIR
- chmod +x generateDocumentationAndDeploy.sh
- ./generateDocumentationAndDeploy.sh