forked from reactive-streams/reactive-streams-jvm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (30 loc) · 828 Bytes
/
.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
language: java
sudo: required
dist: trusty
#group: edge
script:
- ./gradlew check
cache:
directories:
- $HOME/.gradle
before_install:
- export GRADLE_OPTS=-Xmx1024m
matrix:
include:
# JDK 7 no longer supported by Gradle 6+
# - jdk: openjdk7
- jdk: oraclejdk8 # JDK 1.8.0_131-b11
- jdk: oraclejdk9
# Don't let Travis CI execute './gradlew assemble' by default
# From https://github.com/reactive-streams/reactive-streams-jvm/pull/383
install:
# Display Gradle, JVM and other versions
- ./gradlew -version
env:
global:
- TERM=dumb
- DEFAULT_TIMEOUT_MILLIS=300
- DEFAULT_NO_SIGNALS_TIMEOUT_MILLIS=200
- PUBLISHER_REFERENCE_GC_TIMEOUT_MILLIS=300
addons: # Fix OpenJDK build. Issue: https://github.com/travis-ci/travis-ci/issues/5227 & https://docs.travis-ci.com/user/hostname
hostname: rs-jvm