forked from tangrams/tangram-es
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (39 loc) · 1.33 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
language: android
matrix:
include:
- os: osx
env: PLATFORM=osx
compiler: clang
- os: linux
env: PLATFORM=linux CXX=g++-4.9 CC=gcc-4.9
addons:
apt:
sources: [ 'kubuntu-backports', 'ubuntu-toolchain-r-test', 'george-edison55-precise-backports' ]
packages: [ 'cmake', 'gcc-4.9', 'g++-4.9', 'xorg-dev', 'libglu1-mesa-dev' ]
- os: osx
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: [ 'build-tools-21.1.2', 'android-22' ]
before_install:
- git submodule init && git submodule update
- source ./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 ./travis/script_build.sh
- source ./travis/script_run_tests.sh
- source ./travis/script_run_bench.sh
after_success:
- source ./travis/script_deploy_android_snapshot.sh
- source ./travis/script_deploy_android_demo.sh
sudo: false