forked from JozoVilcek/gitbook-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (29 loc) · 764 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
group: edge
dist: trusty
language: java
jdk:
- openjdk8
- oraclejdk8
install: true
before_install:
- sudo apt update
# frontend tests
#- export CHROME_BIN=/usr/bin/google-chrome
#- export DISPLAY=:99.0
#- sh -e /etc/init.d/xvfb start
#- sudo apt install -y libappindicator1 fonts-liberation
#- wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
#- sudo dpkg -i google-chrome*.deb
#- nvm install node 5.12.0
script:
- bash gradlew clean build
before_cache:
- bash gradlew --stop
- rm -rf $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -rf $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.m2/
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- node_modules/