Skip to content
This repository was archived by the owner on Feb 14, 2020. It is now read-only.

Commit a2eb0d0

Browse files
committed
Fix travis
1 parent b01acc4 commit a2eb0d0

File tree

1 file changed

+16
-17
lines changed

1 file changed

+16
-17
lines changed

.travis.yml

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,30 @@
11
branches:
22
only:
3-
- master
3+
- master
4+
45
language: android
5-
sudo: false
6+
67
jdk:
7-
- oraclejdk8
8-
android:
9-
components:
10-
- tools
11-
- platform-tools
12-
- build-tools-25.0.2
13-
- android-25
14-
- doc-25
15-
- extra-android-support
16-
- extra-android-m2repository
8+
- oraclejdk8
9+
1710
before_install:
18-
- pip install --user codecov
11+
- pip install --user codecov
12+
- mkdir "$ANDROID_HOME/licenses" || true
13+
- echo "d56f5187479451eabf01fb78af6dfcb131a6481e" > "$ANDROID_HOME/licenses/android-sdk-license"
14+
1915
script:
20-
- "./gradlew clean testDebugUnitTest jacocoTestReport --info"
16+
- "./gradlew clean testDebugUnitTest jacocoTestReport --info"
17+
2118
after_success:
22-
- "./gradlew coveralls"
23-
- codecov
24-
- "./scripts/publish_snapshot.sh"
19+
- "./gradlew coveralls"
20+
- codecov
21+
- "./scripts/publish_snapshot.sh"
22+
2523
cache:
2624
directories:
2725
- "$HOME/.gradle"
2826
- "$HOME/.m2/repository"
27+
2928
deploy:
3029
provider: script
3130
script: ./gradlew bintrayUpload

0 commit comments

Comments
 (0)