-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (29 loc) · 874 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
sudo: false
dist: trusty
language: java
cache:
directories:
- "$HOME/.m2"
jdk:
- openjdk8
jobs:
include:
- if: type = pull_request
script: mvn -P release-profile -DskipTests=true clean install &&
mvn clean cobertura:cobertura &&
mvn -DskipTests=true cobertura:check &&
bash <(curl -s https://codecov.io/bash)
- if: type = push AND branch = master
script: mvn -P release-profile -DskipTests=true clean install &&
mvn clean cobertura:cobertura &&
mvn -DskipTests=true cobertura:check &&
bash <(curl -s https://codecov.io/bash) &&
cd release && ./deploy.sh && cd .. &&
mvn -P site clean compile site
deploy:
provider: pages
skip_cleanup: true
local_dir: target/site/
github_token: "$site_token"
on:
branch: master