forked from freeplane/freeplane
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (26 loc) · 850 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
language: java
sudo: false # Use container based builds. They are faster and we do not need sudo.
dist: trusty
jdk:
- openjdk8
- oraclejdk8
- oraclejdk11
#fails on because because java 9.0.1 is not compatible with gradle 4.0 currently used by travis
# https://github.com/travis-ci/travis-ci/issues/8975
# therefore disabled until travis fixes it.
# - oraclejdk9
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
script:
- ./gradlew -PTestLoggingFull=true check_translation check
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/
before_install:
JAVA_HOME=/usr/lib/jvm/java-8-oracle gradle -b wrapper.gradle wrapper