blob: 98549745771d72c21e59c275d16e5bcb46bbb5f0 [file] [log] [blame]
gfanc351bd02018-06-11 11:25:36 -07001language: android
2sudo: true
3android:
4 components:
5 - tools
6 - platform-tools
7 - extra-google-m2repository
8 - extra-android-m2repository
9addons:
10 apt_packages:
11 - pandoc
12before_install:
13 - sudo apt-get install ant
14install:
15 - touch ~/.android/repositories.cfg
16 - echo y | sdkmanager "ndk-bundle"
17 - echo y | sdkmanager "cmake;3.6.4111459"
gfanc351bd02018-06-11 11:25:36 -070018 # the following line triggers Trivis-CI's 4MB log limit
19 # - sdkmanager --update
20before_script:
21 - export ANDROID_NDK_HOME=$ANDROID_HOME/ndk-bundle
22
23script:
24 # scripts excutes inside our repo directory on CI machine
25 - export SAMPLE_CI_RESULT=0
26 - source .ci_tools/setup_env.sh
27 - source .ci_tools/build_samples.sh
28 - source .ci_tools/run_samples.sh
29 - source .ci_tools/misc_ci.sh
30 - eval "[[ $SAMPLE_CI_RESULT == 0 ]]"