forked from LLNL/lbann
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
50 lines (43 loc) · 1.17 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
47
48
49
50
# This will run on Travis' 'new' container-based infrastructure
sudo: false
# The Trusty beta Build Environment
dist: trusty
language: cpp
# Blacklist
branches:
except:
- release-v0.93
- develop
- gh-pages
# Environment variables (Set the gh-pages repo dir to html to match with doxygen)
env:
global:
- GH_REPO_NAME: html
- DOXYFILE: $TRAVIS_BUILD_DIR/doc/Doxyfile
- GH_REPO_REF: github.com:LLNL/lbann.git
- DOXYCONFIG: $TRAVIS_BUILD_DIR/doc/Doxyfile.in
- SCRIPT_DIR: code_docs
# Install dependencies
addons:
apt:
packages:
- doxygen
- doxygen-doc
- doxygen-latex
- doxygen-gui
- graphviz
# Build your code e.g. by calling make
script:
- cp $DOXYCONFIG $DOXYFILE
- chmod +x config/config-doxygen.sh
- ./config/config-doxygen.sh
# Generate and deploy documentation
after_success:
- cd $TRAVIS_BUILD_DIR
- chmod +x config/publish-doxygen.sh
- ./config/publish-doxygen.sh
before_install:
- openssl aes-256-cbc -K $encrypted_b9b32342f7d0_key -iv $encrypted_b9b32342f7d0_iv
-in config/travisci_rsa.enc -out config/travisci_rsa -d
- chmod 0600 config/travisci_rsa
- cp config/travisci_rsa ~/.ssh/id_rsa