forked from baldurk/renderdoc
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
56 lines (50 loc) · 1.14 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
language: cpp
sudo: required
dist: trusty
branches:
only:
- v0.x
- v1.x
# having another branch lets us force-push tests here without spamming master
- travis-test
env:
global:
- RENDERDOC_TRAVIS_BUILD=1 RENDERDOC_CI_BUILD=1
# 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: xcode8.2
env: APPLE_BUILD=1
compiler: clang
# install dependencies
install:
- . ./scripts/travis/setup.sh
script:
- . ./scripts/travis/compile.sh