forked from vaadin/beverage-starter-flow
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
27 lines (23 loc) · 707 Bytes
/
Copy path.travis.yml
File metadata and controls
27 lines (23 loc) · 707 Bytes
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
language: java
jdk: oraclejdk8
# Run on a dedicated Trusty VM to avoid random problems like "User limit of inotify watches reached"
sudo: required
dist: trusty
before_install:
# Disable all Travis default repositories
- sed -i "s/activeByDefault>true</activeByDefault>false</g" ~/.m2/settings.xml
# Skip the installation step.
# https://docs.travis-ci.com/user/customizing-the-build#Skipping-the-Installation-Step
install: true
script: ./.travis.script.sh
# Cache requires a master build
branches:
only:
- master
cache:
directories:
- $HOME/.m2
before_cache:
# remove all build artifacts
- rm -rf $HOME/.m2/repository/com/vaadin/flow
- rm -rf $HOME/.m2/repository/com/vaadin/flow-*