forked from k0shk0sh/FastHub
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
34 lines (26 loc) · 711 Bytes
/
.travis.yml
File metadata and controls
34 lines (26 loc) · 711 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
31
32
33
34
language: android
android:
components:
- tools
- tools
- platform-tools
- extra-android-m2repository
- extra-google-m2repository
jdk: oraclejdk8
sudo: required
before_script:
- (while sleep 3; do echo "y"; done) | $ANDROID_HOME/tools/bin/sdkmanager "build-tools;26.0.0-rc2" "platforms;android-O" --channel=2
script:
- ./gradlew clean assembleDebug
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
after_success:
- bash <(curl -s https://codecov.io/bash)
notifications:
slack: fasthub:mjJWGD8UpgSgKawKa5OqMNlR
email: false