forked from TNG/JGiven
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (29 loc) · 1.3 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
language: java
cache:
directories:
- $HOME/.gradle
- $HOME/.yarn-cache
install: "JAVA_HOME=$(jdk_switcher home oraclejdk8) ./gradlew -i -s assemble"
script:
- "./gradlew -i -s check -DjunitVersion=4.9"
- "./gradlew -i -s check -DjunitVersion=4.10"
- "./gradlew -i -s check -DjunitVersion=4.11"
- "./gradlew -i -s check -DjunitVersion=4.12"
jdk:
- openjdk11
- openjdk10
- oraclejdk9
- oraclejdk8
after_success:
- test "$TRAVIS_JDK_VERSION" == "oraclejdk8" && test "$TRAVIS_BRANCH" == "master" && test "$TRAVIS_PULL_REQUEST" == "false" && ./gradlew overallJacocoReport coveralls uploadArchives
env:
global:
- secure: G7EOz25xYyIzvQwF0eKEgr+0I2S9ZO2xN6BorELeuAVDowYa2B3hJjk4zIRkc1YGWx1CTYvtOEMVVTp9nL93cn18rTNulDMPl5vvBw6t4Ag1BTovUmN2a2y7N1f4N+stmEKHmH2kUZqYSif5vYbK/2044tDtO8nfQ9/va3HxaKs=
- secure: gAYQw79fJk+zdr8M4F5ZBWKnyA9eXfUbJQ92ucHw8OETNvawE5tqJflMkt2aCy3hTHDQmzMdI6xIGCEk6XUqe9Rydk9gESpUbErHio9FzTwlx5SQJEISOMLEb2ULe2wKn08ZfZkRITY32RUlo/vNIYDuN8xYMHN3vd1z8j97FvE=
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/a19193581127239cac04
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always