-
Notifications
You must be signed in to change notification settings - Fork 65
/
Copy path.travis.yml
27 lines (27 loc) · 1.43 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
language: java
jdk:
- openjdk11
install: echo "skiping install phase"
env:
- IDEA_VERSION=2021.1 SCALA_PLUGIN_VERSION=2021.1.16 ENABLE_IDEA_GROOVY_PLUGIN=true ENABLE_IDEA_SCALA_PLUGIN=true
- IDEA_VERSION=2021.1 SCALA_PLUGIN_VERSION=2021.1.16 ENABLE_IDEA_GROOVY_PLUGIN=false ENABLE_IDEA_SCALA_PLUGIN=false
# - IDEA_VERSION=2019.3 SCALA_PLUGIN_VERSION=2019.3.26 ENABLE_IDEA_GROOVY_PLUGIN=true ENABLE_IDEA_SCALA_PLUGIN=true
# - IDEA_VERSION=2019.3 SCALA_PLUGIN_VERSION=2019.3.26 ENABLE_IDEA_GROOVY_PLUGIN=true ENABLE_IDEA_SCALA_PLUGIN=false
- IDEA_VERSION=LATEST-EAP-SNAPSHOT SCALA_PLUGIN_VERSION=2021.1.16 ENABLE_IDEA_GROOVY_PLUGIN=true ENABLE_IDEA_SCALA_PLUGIN=true
matrix:
allow_failures:
# - env: IDEA_VERSION=2019.3 SCALA_PLUGIN_VERSION=2019.3.26 ENABLE_IDEA_GROOVY_PLUGIN=true ENABLE_IDEA_SCALA_PLUGIN=true
- env: IDEA_VERSION=LATEST-EAP-SNAPSHOT SCALA_PLUGIN_VERSION=2021.1.16 ENABLE_IDEA_GROOVY_PLUGIN=true ENABLE_IDEA_SCALA_PLUGIN=true
fast_finish: true
script:
- ./gradlew check -PideaVersion=$IDEA_VERSION -PscalaPluginVersion=$SCALA_PLUGIN_VERSION -PenableIdeaGroovyPlugin=$ENABLE_IDEA_GROOVY_PLUGIN -PenableIdeaScalaPlugin=$ENABLE_IDEA_SCALA_PLUGIN jacocoRootReport
after_failure: ./print_surefire_reports.sh
after_success:
- ./gradlew coveralls
# - ./gradlew cobertura coveralls
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/