-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy path.travis.yml
43 lines (36 loc) · 1.06 KB
/
.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
41
42
43
# Validating the YAML file:
# https://docs.travis-ci.com/user/travis-lint/
# https://docs.travis-ci.com/user/ci-environment/
sudo: false
language: java
# JDK8 is available on xenial
dist: xenial
# https://docs.travis-ci.com/user/languages/java/
jdk:
- openjdk8
# - openjdk10
# - openjdk11
# - openjdk12
# - oraclejdk11
# - oraclejdk12
# https://docs.travis-ci.com/user/deployment/pages/
# deploy Maven site only from master
deploy:
provider: pages
skip_cleanup: true
github_token: ${GITHUB_TOKEN} # Set in travis-ci.org dashboard
local_dir: ./target/site
on:
branch: master
# https://docs.travis-ci.com/user/customizing-the-build
install: mvn -B -V dependency:resolve-plugins dependency:go-offline
script: mvn clean verify site
after_failure: tail -n 500 /home/travis/build/icon-Systemhaus-GmbH/javassist-maven-plugin/target/it/projects/transform/build.log
# only the last commit is required for now
git:
depth: 1
# https://docs.travis-ci.com/user/customizing-the-build/#Building-Specific-Branches
# ignore 'gh-pages' branch
branches:
except:
- gh-pages