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
|
language: cpp
sudo: required
dist: trusty
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
# 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
# install dependencies
install:
- . ./util/travis/setup.sh
script:
- . ./util/travis/compile.sh
|