-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.travis.yml
More file actions
50 lines (43 loc) · 1.07 KB
/
.travis.yml
File metadata and controls
50 lines (43 loc) · 1.07 KB
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
# Blacklist
#branches:
# except:
# - gh-pages
# Safelist
branches:
only:
- master
# Environment variables
env:
global:
- GH_REPO_NAME: UBXSec
- DOXYFILE: $TRAVIS_BUILD_DIR/DoxyFile
- GH_REPO_REF: github.com/marcodeltutto/UBXSec.git
# Install dependencies
addons:
apt:
packages:
- doxygen
- doxygen-doc
- doxygen-latex
- doxygen-gui
- graphviz
# Build your code e.g. by calling make
script:
- cd $TRAVIS_BUILD_DIR
- chmod +x generateDocumentationAndDeploy.sh
- ./generateDocumentationAndDeploy.sh
# - make
# Handle git submodules yourself
git:
submodules: false
# Use sed to replace the SSH URL with the public URL, then initialize submodules
before_install:
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
- git submodule update --init --recursive
# Generate and deploy documentation
#after_success:
# - cd $TRAVIS_BUILD_DIR
# - chmod +x generateDocumentationAndDeploy.sh
# - ./generateDocumentationAndDeploy.sh