forked from android/ndk-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
30 lines (28 loc) · 737 Bytes
/
.travis.yml
File metadata and controls
30 lines (28 loc) · 737 Bytes
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
language: android
sudo: true
android:
components:
- tools
- platform-tools
- extra-google-m2repository
- extra-android-m2repository
addons:
apt_packages:
- pandoc
# artifacts:
# paths:
# - $(git ls-files -o | grep app/build/outputs | tr "\n" ":")
before_install:
install:
# - echo y | sdkmanager "ndk;21.2.6472646"
- echo y | sdkmanager "cmake;3.10.2.4988404"
# - sdkmanager --update
before_script:
script:
# scripts excutes inside our repo directory on CI machine
- export SAMPLE_CI_RESULT=0
- source .ci_tools/setup_env.sh
- travis_wait 30 source .ci_tools/build_samples.sh
- source .ci_tools/run_samples.sh
# - source .ci_tools/misc_ci.sh
- eval "[[ $SAMPLE_CI_RESULT == 0 ]]"