forked from MinecraftWars/Gringotts
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
38 lines (31 loc) · 967 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
36
37
38
language: java
jdk:
- oraclejdk8
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/9d082586e459ec0fb134
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false
deploy:
- provider: script
skip_cleanup: true
script: .travis/znode-deploy.sh
on:
branch: master
- provider: releases
skip_cleanup: true
api_key:
secure: GqBVV6OCdr6n6KSaq14X+2f2+I1mTwPqpQ7L6sdPUZUD/ziXA4rySZ9R3MYYxZWo/SOvAzX5ab8QpJSGnPoXZncL7dxFmO3FfE0WMHy74FCinuRWQ2ziBK4TEJBOVGfJqTvyutmCXLniw5G8uQxozkEUpjKJm3i1bjA+7X+7qlI=
file_glob: true
file: target/Gringotts*.jar
on:
repo: MinecraftWars/Gringotts
tags: true
# we don't need sudo, this allows container-based builds ...
sudo: false
# ... which allows caching of .m2 and makes builds faster
cache:
directories:
- $HOME/.m2