-
Notifications
You must be signed in to change notification settings - Fork 15
/
.travis.yml
32 lines (27 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
29
30
31
32
language: java
cache:
directories:
- $HOME/.m2
jdk:
- openjdk8
# - openjdk11
branches:
only:
- master
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN # Set in the Travis settings page of your repository, as a secure variable
keep_history: true
local_dir: ebook/target/generated-docs #Contains all the files generated by project Asciidoctor and also Github Pages files.
target_branch: gh-pages
on:
branch: master
#Optional if want to have a gitter group for this repository
#notifications:
# webhooks:
# urls:
# - "https://webhooks.gitter.im/e/YourCodeHere"
# on_success: always # options: [always|never|change] default: always
# on_failure: always # options: [always|never|change] default: always
# on_start: always # options: [always|never|change] default: always