-
Notifications
You must be signed in to change notification settings - Fork 10
/
.travis.yml
46 lines (38 loc) · 1.04 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
44
45
46
# This will not run on Travis' 'new' container-based infrastructure
sudo: required
language: csharp
notifications:
email: false
# Blacklist
branches:
only:
- rework
# Environment variables
env:
global:
- GH_REPO_NAME: EvenMoreModifiers
- DOXYFILE: $TRAVIS_BUILD_DIR/travis/documentation/Doxyfile
- GH_REPO_REF: github.com/Jofairden/EvenMoreModifiers.git
# Install dependencies
addons:
apt:
packages:
- doxygen
- doxygen-doc
- graphviz
# The VM is now Ubuntu 16 which already had it
#before_install:
# - sudo apt-add-repository -y ppa:mikepurvis/docs
# - sudo apt-get update
# - sudo apt-get install doxygen
# Build your code e.g. by calling make
script:
- pwd
- doxygen -v
- ls
# Generate and deploy documentation
after_success:
# Generate the docs only if master, the travis_build_docs is true and we can use secure variables
- cd $TRAVIS_BUILD_DIR
- chmod +x travis/documentation/generateAndPublishDocumentation.sh
- ./travis/documentation/generateAndPublishDocumentation.sh