-
Notifications
You must be signed in to change notification settings - Fork 143
/
.travis.yml
51 lines (43 loc) · 1.3 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
# Disabling sudo moves build to the Container Based Infrastructure on Travis CI
sudo: required
# Handle git submodules yourself
git:
submodules: false
# Use sed to replace the SSH URL with the public URL, then initialize submodules
before_install:
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
- git submodule update --init --recursive
# - sh buildsystem/install_buck.sh
language: android
jdk: oraclejdk8
android:
components:
- tools # to get the new `repository-11.xml`
- tools # see https://github.com/travis-ci/travis-ci/issues/6040#issuecomment-219367943)
- platform-tools
- build-tools-25.0.2
- android-25
- extra-google-m2repository
- extra-android-m2repository
licenses:
- android-sdk-license-.+
- android-sdk-preview-license-.+
- google-gdk-license-.+
# Emulator Management: Create, Start and Wait
before_script:
# - echo no | android create avd --force -n test -t android-18 --abi armeabi-v7a
# - emulator -avd test -no-audio -no-window &
- touch bintray.properties
script:
# - android-wait-for-emulator
# - adb shell input keyevent 82
- bash buildsystem/ci.sh
after_success:
- bash <(curl -s https://codecov.io/bash)
notifications:
email:
- xz4214@gmail.com
cache:
directories:
- $HOME/.m2
- $HOME/.gradle