-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.travis.yml
More file actions
50 lines (42 loc) · 822 Bytes
/
.travis.yml
File metadata and controls
50 lines (42 loc) · 822 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
language: cpp
branches:
only:
- gh-pages
- master
- macos
- logging-support
matrix:
include:
- os: osx
python: 3.7
osx_image: xcode11.6
addons:
homebrew:
packages:
- doxygen
dist: trusty
before_install:
- chmod +x ./.travis/install.sh
- python3 --version
- pip3 install sphinx_rtd_theme
- pip3 install breathe
install:
- ./.travis/install.sh
before_script:
- g++ --version
- cd ${TRAVIS_BUILD_DIR}
- mkdir build
script:
- cd build
- cmake -DBUILD_DOCUMENTATION=ON -DBUILD_TESTS=ON ..
- make
- ctest
- cd ${TRAVIS_BUILD_DIR}/build/docs/sphinx
- touch .nojekyll
deploy:
provider: pages
skip_cleanup: true
local_dir: ${TRAVIS_BUILD_DIR}/build/docs/sphinx
github_token: $GH_REPO_TOKEN
on:
branch: master