-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
30 lines (26 loc) · 983 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
language: java
matrix:
include:
- jdk: openjdk6
env: IDEA_VERSION="14.0.4"
- jdk: oraclejdk8
env: IDEA_VERSION="14.0.4" COVERALLS=true SONARQUBE=true
- jdk: openjdk6
env: IDEA_VERSION="15.0.4"
- jdk: oraclejdk8
env: IDEA_VERSION="15.0.4"
- jdk: oraclejdk8
env: IDEA_VERSION="2016.1"
- jdk: oraclejdk8
env: IDEA_VERSION="2016.2"
- jdk: oraclejdk8
env: IDEA_VERSION="2016.3"
- jdk: oraclejdk8
env: IDEA_VERSION="LATEST-EAP-SNAPSHOT"
- jdk: oraclejdk8
env: IDEA_VERSION="LATEST-TRUNK-SNAPSHOT"
install: ./gradlew -P ideaVersion=$IDEA_VERSION assemble
script: ./gradlew -P ideaVersion=$IDEA_VERSION build
after_success:
- if [ "$COVERALLS" == "true" ]; then ./gradlew -P ideaVersion=$IDEA_VERSION cobertura coveralls; fi
- if [ "$SONARQUBE" == "true" ] && [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then ./gradlew sonarqube -Dsonar.login=$SONAR_TOKEN; fi