-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (29 loc) · 909 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: kotlin
sudo: false # route the build to the container-based infrastructure for a faster build
# we need to explicitly change to java 8
jdk:
- oraclejdk8
# fiddle around with memory settings in order to get build with long running markdown4k tests working again
# https://discuss.gradle.org/t/gradle-travis-ci/11928/5
env:
global:
- GRADLE_OPTS="-Xms128m"
before_install:
- "chmod +x gradlew"
script:
- "./gradlew build jacocoTestReport"
# - "./gradlew build jacocoTestReport versioneye-update"
# OR: ./gradlew build --debug
after_success:
- bash <(curl -s https://codecov.io/bash)
notifications:
email:
# cache gradle dependencies
# https://docs.travis-ci.com/user/languages/java#Caching
before_cache:
- "rm -f $HOME/.gradle/caches/modules-2/modules-2.lock"
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/