forked from GafferHQ/gaffer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (45 loc) · 1.83 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
sudo: false
language: cpp
os:
- linux
addons:
apt:
packages:
- inkscape
- doxygen
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
install:
- python ./config/travis/installDependencies.py
- export DELIGHT_PACKAGE=3delight-12.0.12-Linux-x86_64
- curl -A Mozilla/4.0 http://www.3delight.com/downloads/free/$DELIGHT_PACKAGE.tar.xz > $DELIGHT_PACKAGE.tar.xz
- tar -xf $DELIGHT_PACKAGE.tar.xz
- export DELIGHT=`pwd`/$DELIGHT_PACKAGE/3delight/Linux-x86_64
- export LD_LIBRARY_PATH=$DELIGHT/lib:$LD_LIBRARY_PATH
- export DL_SHADERS_PATH=$DELIGHT/shaders
- export DL_DISPLAYS_PATH=$DELIGHT/displays
- export PATH=$DELIGHT/bin:$PATH
script:
- scons -j 2 install CXX=$CXX ENV_VARS_TO_IMPORT=PATH RMAN_ROOT=$DELIGHT
# Preload libSegFault when running tests, so we get stack
# traces from any crashes.
- export LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
- source ./config/travis/runGafferTest GafferTest
- source ./config/travis/runGafferTest GafferUITest
- source ./config/travis/runGafferTest GafferCortexTest
- source ./config/travis/runGafferTest GafferCortexUITest
- source ./config/travis/runGafferTest GafferImageTest
- source ./config/travis/runGafferTest GafferImageUITest
- source ./config/travis/runGafferTest GafferSceneTest
- source ./config/travis/runGafferTest GafferSceneUITest
- source ./config/travis/runGafferTest GafferOSLTest
- source ./config/travis/runGafferTest GafferOSLUITest
- source ./config/travis/runGafferTest GafferRenderManTest
- source ./config/travis/runGafferTest GafferRenderManUITest
- source ./config/travis/runGafferTest GafferAppleseedTest
- source ./config/travis/runGafferTest GafferAppleseedUITest
- ./config/travis/printTestResults
compiler:
- gcc
- clang