-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
41 lines (40 loc) · 914 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
language: cpp
dist: focal
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-9
- cmake-data
- cmake
- libtbb-dev
jobs:
include:
# Docs
- os: linux
language: python
python: "3.7"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libtbb-dev
- doxygen
- graphviz
install:
- pip3 install -r docs/requirements.txt
script:
- mkdir ${TRAVIS_BUILD_DIR}/build
- cd ${TRAVIS_BUILD_DIR}/build
- cmake -DCMAKE_BUILD_TYPE=Release -G "CodeBlocks - Unix Makefiles" ..
- make -i docs
- cd ${TRAVIS_BUILD_DIR}
deploy:
edge: true
provider: pages
local_dir: ${TRAVIS_BUILD_DIR}/build/docs/sphinx
token: $GITHUB_TOKEN
keep_history: true
verbose: true