forked from Octogonapus/kt-guava
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (34 loc) · 903 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
39
40
# NOTE: Don't use `sudo` anywhere or the build will run on Travis's slower, outdated build system
language: java
matrix:
fast_finish: true
include:
- os: linux
jdk: oraclejdk8
- os: osx
osx_image: xcode8.3
env:
- TERM=dumb
#addons:
# apt:
# sources:
# - ubuntu-toolchain-r-test
# packages:
# - oracle-java8-installer
# - libstdc++-4.9-dev
#before_install:
# - if [[ $TRAVIS_OS_NAME != 'osx' ]]; then
# export DISPLAY=:99.0;
# sh -e /etc/init.d/xvfb start;
# fi
script:
- ./gradlew check jacocoTestReport --stacktrace -PlogTests -Pheadless
after_success:
- bash <(curl -s https://codecov.io/bash)
# - if [[ $TRAVIS_OS_NAME != 'osx' ]]; then bash <(curl -s https://codecov.io/bash); fi
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/