forked from tangrams/tangram-es
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (42 loc) · 1.49 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
language: android
matrix:
include:
- os: osx
osx_image: xcode7.3
env: PLATFORM=osx
compiler: clang
- os: linux
env: PLATFORM=linux CXX=g++-5 CC=gcc-5
addons:
apt:
sources: [ 'kubuntu-backports', 'ubuntu-toolchain-r-test', 'george-edison55-precise-backports' ]
packages: [ 'cmake', 'gcc-5', 'g++-5', 'xorg-dev', 'libglu1-mesa-dev' ]
- os: osx
osx_image: xcode7.3
env: PLATFORM=ios
compiler: clang
- os: linux
env: PLATFORM=android
addons:
apt:
sources: [ 'kubuntu-backports', 'george-edison55-precise-backports' ]
packages: [ 'cmake', 'lib32z1-dev', 'lib32stdc++6', 's3cmd' ]
android:
components: [ 'tools', 'build-tools-24.0.0', 'extra-android-m2repository', 'android-24' ]
jdk: oraclejdk8
before_install:
- git submodule update --init --recursive
- source ./scripts/travis/before_install.sh
install: ulimit -c
before_script:
# Set the core file limit to unlimited so a core file is generated upon crash
- ulimit -c unlimited -S
# build test project
script:
- source ./scripts/travis/script_build.sh
- source ./scripts/travis/script_run_tests.sh
- source ./scripts/travis/script_run_bench.sh
after_success:
- source ./scripts/travis/script_deploy_android_snapshot.sh
- source ./scripts/travis/script_deploy_android_demo.sh
sudo: false