forked from AliceO2Group/AliceO2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
29 lines (29 loc) · 806 Bytes
/
.travis.yml
File metadata and controls
29 lines (29 loc) · 806 Bytes
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
sudo: false
script: |
cat > CMakeLists.txt <<\EOF
add_subdirectory(doc)
EOF
# This is required because of differences between doxygen and github
# markdown syntax for code blocks. The committed code should use
# the github flavour and we generate the doxygen one on the fly.
git grep -l '^```[a-zA-Z]' | xargs sed -i .old -e 's|```\([a-zA-Z][a-zA-Z]*\)|\n```{.\1}\n|g;s|[.]bash|.sh|g;s|```|~~~~~~~|g'
find . -name "*.old" -delete
cmake .
make doc
# Install dependencies
addons:
apt:
packages:
- doxygen
- doxygen-doc
- doxygen-latex
- doxygen-gui
- graphviz
- cmake
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_API_TOKEN # Set in travis-ci.org dashboard
local_dir: doc/html
on:
branch: dev