forked from azkaban/azkaban
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (30 loc) · 809 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
language: java
jdk:
- openjdk8
os: linux
dist: xenial
before_install:
- sudo apt update
- sudo apt install openjfx
script: ./gradlew clean build --scan --no-daemon --info
# see https://docs.travis-ci.com/user/languages/java/#Projects-Using-Gradle
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/
notifications:
email:
recipients:
on_success: never
on_failure: always
env:
global:
- GRADLE_OPTS="-Xms512m -Xmx4096m"
after_success:
# avoid to double trigger test and increase build time
- travis_wait 30 ./gradlew coveralls -x test --no-daemon
- bash <(curl -s https://codecov.io/bash)