forked from google/oboe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (30 loc) · 829 Bytes
/
.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
language: android
sudo: true
android:
components:
- tools
- platform-tools
- extra-google-m2repository
- extra-android-m2repository
addons:
apt_packages:
- pandoc
before_install:
- sudo apt-get install ant
install:
- touch ~/.android/repositories.cfg
- echo y | sdkmanager "ndk-bundle"
- echo y | sdkmanager "cmake;3.6.4111459"
- echo y | sdkmanager "lldb;3.1"
# the following line triggers Trivis-CI's 4MB log limit
# - sdkmanager --update
before_script:
- export ANDROID_NDK_HOME=$ANDROID_HOME/ndk-bundle
script:
# scripts excutes inside our repo directory on CI machine
- export SAMPLE_CI_RESULT=0
- source .ci_tools/setup_env.sh
- source .ci_tools/build_samples.sh
- source .ci_tools/run_samples.sh
- source .ci_tools/misc_ci.sh
- eval "[[ $SAMPLE_CI_RESULT == 0 ]]"