-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
38 lines (31 loc) · 891 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
36
37
38
language: java
sudo: false # Faster builds
env:
global:
- JVMLang=Kotlin
matrix:
include:
- jdk: oraclejdk8
- jdk: oraclejdk9
addons:
apt:
packages:
- oracle-java9-installer
- oracle-java9-set-default
env: JDK_JAVA_OPTIONS='--permit-illegal-access'
# JDK_JAVA_OPTIONS='--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED'
allow_failures:
- jdk: oraclejdk9
before_script:
- chmod +x gradlew
script:
- ./gradlew jacocoTestReport makeExecutable --no-daemon --scan
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)