forked from tangrams/tangram-es
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
55 lines (47 loc) · 1.45 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
language: android
sudo: enabled
branches:
only:
- master
matrix:
include:
- os: linux
dist: trusty
env: PLATFORM=linux CXX=g++-4.9 CC=gcc-4.9
addons:
apt:
sources: [ 'ubuntu-toolchain-r-test' ]
packages:
- cmake
- cmake-data
- gcc-4.9
- g++-4.9
- xorg-dev
- libglu1-mesa-dev
- libicu-dev
- libfreetype6-dev
- libharfbuzz-dev
- os: linux
env: PLATFORM=android
addons:
apt:
sources: [ 'ubuntu-toolchain-r-test' ]
packages: [ 'libstdc++6', 's3cmd' ]
android:
components: [ 'tools', 'build-tools-25.0.0', 'extra-android-m2repository', 'android-25' ]
jdk: oraclejdk8
before_install:
- git submodule update --init
- 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