forked from davidmc24/gradle-avro-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (37 loc) · 1.24 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
sudo: true # required for hostname addon; https://docs.travis-ci.com/user/hostname
language: java
group: stable
jdk: oraclejdk8
env:
global:
- TERM="dumb"
- GRADLE_OPTS="-Xmx386m -Xms386m"
addons:
# OpenJDK7 fails with long host names; https://github.com/travis-ci/travis-ci/issues/5227
hosts:
- buildhost
hostname: buildhost
install: true
script: ./gradlew build testRecentVersionCompatibility --info
matrix:
include:
- jdk: oraclejdk9
os: linux
dist: trusty
group: deprecated-2017Q4
# Looks like Java 9.0.1 introduced new Gradle incompatibilities resolved in 4.2.1 and 4.3
# https://discuss.gradle.org/t/could-not-determine-java-version-from-9-0-1/24457
- jdk: oraclejdk8
os: linux
dist: trusty
- jdk: oraclejdk7
os: linux
dist: precise # on trusty, Oracle JDK 7 is not provided because it reached End of Life in April 2015.
env:
- GRADLE_OPTS="-Xmx386m -Xms386m -XX:MaxPermSize=128m"
- jdk: openjdk8
os: linux
dist: trusty
- jdk: openjdk7
os: linux
dist: precise # on trusty, openjdk7 fails when connecting to Gradle distro site/plugin portal due to TLS configuration; java.security.NoSuchProviderException: no such provider: SunEC