-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.travis.yml
74 lines (66 loc) · 1.66 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
linux: &linux
os: linux
sudo: true
dist: xenial
language: python
python: "3.7"
services:
- docker
osx: &osx
os: osx
language: generic
branches:
only:
- master
- /^stable\/.*$/
env:
global:
- CONAN_REMOTES: "https://api.bintray.com/conan/conan-community/conan,https://api.bintray.com/conan/bincrafters/public-conan,https://api.bintray.com/conan/vthiery/conan-packages,https://api.bintray.com/conan/catchorg/Catch2"
matrix:
include:
- <<: *linux
env: CONAN_GCC_VERSIONS=7 CONAN_DOCKER_IMAGE=conanio/gcc7
- <<: *linux
env: CONAN_GCC_VERSIONS=8 CONAN_DOCKER_IMAGE=conanio/gcc8
- <<: *linux
env: CONAN_GCC_VERSIONS=9 CONAN_DOCKER_IMAGE=conanio/gcc9
- <<: *linux
env: CONAN_CLANG_VERSIONS=7.0 CONAN_DOCKER_IMAGE=conanio/clang7
- <<: *linux
env: CONAN_CLANG_VERSIONS=8 CONAN_DOCKER_IMAGE=conanio/clang8
- <<: *osx
osx_image: xcode10.2
env: CONAN_APPLE_CLANG_VERSIONS=10.0
- os: linux
dist: xenial
addons:
apt:
packages:
- doxygen
- doxygen-doc
- doxygen-latex
- doxygen-gui
- graphviz
env:
- BUILD_DOCS="YES"
install:
- if [ "$BUILD_DOCS" != "YES" ]; then
chmod +x .travis/install.sh;
./.travis/install.sh;
fi
script:
- if [ "$BUILD_DOCS" != "YES" ]; then
chmod +x .travis/run.sh;
./.travis/run.sh;
fi
- if [ "$BUILD_DOCS" == "YES" ]; then
doxygen Doxyfile;
fi
deploy:
if: env(BUILD_DOCS)="YES"
provider: pages
skip_cleanup: true
local_dir: docs/html
github_token: $GH_REPO_TOKEN
on:
branch: master