forked from baldurk/renderdoc
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
69 lines (62 loc) · 2.12 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
language: cpp
sudo: required
dist: bionic
branches:
only:
- v1.x
# having another branch lets us force-push tests here without spamming master
- ci-test
env:
global:
- RENDERDOC_TRAVIS_BUILD=1 RENDERDOC_CI_BUILD=1
- secure: "nFkr8LnOvqAqgm/cMB2/4mxRaFBShUm5PBMkQf7cEa9p2yrATk5w2JQXAghr1szY2lnWxN/tLKc+93tKmTy7h9fg24VvfBkZIznI4b3m589lxSkrCWbEa3IplMdEHFl21iDSvyigheTUF4N4X2tEPNR5/mw0W+YQY8nXVekOgj9+1sC+ICdb6G6kLtrqNGFBr73KwJyZfl5j60JRvQauO5xLhbzGBDxYHzeo2QUk363czK0rxlZEmjWcqThx1AKmkYQGhHDIZ9ZcYv92nozdRjf2i5OBq5DBOp8FxCgQ225r8WRNFqH4ccGB2juQ+GtkLltUL7ZkyIY9z8zG7y9psG/ZrLvcnaDYsYnz6vaKBpy4RdaUZ1n9Le74yssGipEjOWOgUW3iuqp/1xkXIr7lEkY9MNLlWFtFgIQjDTeFS7QxsLovUcj/8OSHDNRs2fNegFhWUvv6nQUziq3nfDjm51W+VqNlSWKlq+NKr7ipvlpJcPEx7V5oe7SKoLQOGjj/ajTmKnnG653fQMOY4ACvkAfsu2+Vbs8C8VaUDvZRq9wg5cKmm3CrgmjO1r+lg07MA0EUCRtL3UwdxoaqbjpRKDAOdRA2r5dS/jAK1vt1RSuYaD4e6KtbdJgLVcHxT0/ABovs5yS40TSLQPA3Yvrd+76XFeGjkGdMtX2OTRasmTY="
# variables for the matrix, which are implicitly unset if omitted
#
# DOCS_BUILD - set for docs builds, unset for code builds
#
# At least one of these should be set:
#
# LINUX_BUILD - set for linux builds
# APPLE_BUILD - set for OSX builds
# ANDROID_BUILD - set for android builds
#
# RELEASE_BUILD - set if a cmake should be set to a release build
matrix:
fast_finish: true
include:
# only build docs on linux
- os: linux
env: DOCS_BUILD=1
- os: linux
env: LINUX_BUILD=1
compiler: gcc
- os: linux
env: LINUX_BUILD=1
compiler: clang
- os: linux
env: LINUX_BUILD=1 RELEASE_BUILD=1
compiler: clang
- os: linux
env: ANDROID_BUILD=1
compiler: clang
- os: osx
osx_image: xcode9.4
env: APPLE_BUILD=1
compiler: clang
- os: osx
osx_image: xcode9.4
env: APPLE_BUILD=1 RELEASE_BUILD=1
compiler: clang
# install dependencies
install:
- . ./util/travis/setup.sh
script:
- . ./util/travis/compile.sh
deploy:
provider: script
skip_cleanup: true
script: bash $TRAVIS_BUILD_DIR/util/travis/osx_deploy.sh
on:
repo: baldurk/renderdoc
branch: v1.x
condition: $TRAVIS_OS_NAME$RELEASE_BUILD = osx1