forked from BetonQuest/BetonQuest
-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
17 lines (17 loc) · 858 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
language: java
jdk:
- openjdk8
env:
global:
- secure: "FxpoMJmkjBKy0qsPMLcs9fpiquJ217s5qlRC9sCTf7GWkDydqDV8ZAIy9LihOf17qH/m0U8Ii6BmOeH/V0Oa1CPhTvHVrLw+aBN6OrMWUs9EmPqa7pCpk+p6Rr81/matzfbKjTGBsSqFMAj5Aj4VpR7RTyQEBh+cZgORgbrnatU="
- secure: "QS9IQXvglj/DPaqY69AEEegEylJ/7dyqElm++LQMsOrfVCr1MUnPo2xBqciThsrBSQsqP+Llc+xGWK+/iFTxHgHhJuvcZmyZb9i+M0ISqoJkluZwZjIzYcBe3N7mo36JKqBzIkTgVvvkXPr5pn8PmYVKlgIzV2QbYRT42NIFn4U="
cache:
directories:
- "$HOME/.m2/repository"
before_script: "sed -i \"s@-dev@-dev#$TRAVIS_BUILD_NUMBER@\" BetonQuest-core/src/main/resources/plugin.yml"
install: true
script: mvn clean package -Drelease
after_success:
- "curl -F \"pass=$pass\" -F \"id=$TRAVIS_BUILD_NUMBER\" -F \"hash=$TRAVIS_COMMIT\" -F \"branch=$TRAVIS_BRANCH\" -F \"plugin=@target/BetonQuest.jar\" https://betonquest.pl"
- "chmod +x discord.sh"
- "./discord.sh"