Skip to content

Commit cfe3598

Browse files
committed
Run Android tests on Travis, remove testing on JDK 9
Travis doesn't have oraclejdk9 on language:android, and the openjdk9 installed by install-jdk.sh doesn't have the necessary certificate roots to download dependencies, so given that JDK9 (and soon JDK10!) is EOL, let's no longer run tests on it ¯\_(ツ)_/¯ As a side note, we'll have to wait for the next version of Error Prone before we can test on JDK 11 (JDK 10 isn't even "officially" supported by Error Prone 2.3.1): google/error-prone#860 (comment)
1 parent 258c9b4 commit cfe3598

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.travis.yml

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1-
language: java
1+
language: android
2+
android:
3+
components:
4+
- tools
5+
- platform-tools
6+
- build-tools-27.0.3
7+
- android-27
28
jdk:
39
- openjdk8
4-
- oraclejdk9
510
- oraclejdk10
611

712
env:
@@ -16,7 +21,7 @@ matrix:
1621
env: GRADLE_VERSION=4.6
1722

1823
install: true
19-
script: ./gradlew build -Ptest.skipAndroid=true -Ptest.gradle-version=$GRADLE_VERSION
24+
script: ./gradlew build -Ptest.gradle-version=$GRADLE_VERSION
2025

2126
before_cache:
2227
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock

0 commit comments

Comments
 (0)