forked from appleseedhq/appleseed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
61 lines (46 loc) · 1.05 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
sudo: false
language: cpp
os:
- linux
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
- gcc-5
- g++-5
- gcc-6
- g++-6
before_install:
- git clone https://github.com/appleseedhq/prebuilt-linux-deps.git
install:
- if [ -n "$GCC_VERSION" ]; then export CC="${CC}-${GCC_VERSION}"; fi
- if [ -n "$GCC_VERSION" ]; then export CXX="${CXX}-${GCC_VERSION}"; fi
compiler:
- gcc
env:
- GCC_VERSION=4.8 USE_CPP11=OFF
matrix:
include:
- os: linux
compiler: gcc
env: GCC_VERSION=4.8 USE_CPP11=ON
- os: linux
compiler: gcc
env: GCC_VERSION=5 USE_CPP11=OFF
- os: linux
compiler: gcc
env: GCC_VERSION=5 USE_CPP11=ON
- os: linux
compiler: gcc
env: GCC_VERSION=6 USE_CPP11=OFF
- os: linux
compiler: gcc
env: GCC_VERSION=6 USE_CPP11=ON
script:
- ./travis/build.sh
notifications:
slack: appleseedhq:H9o3XAC4e05O0yE4upX1FNkW