forked from greatman/craftconomy3
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
31 lines (31 loc) · 1.86 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
language: java
sudo: false
jdk:
- oraclejdk8
services: mysql
before_install:
- 'if [[ $TRAVIS_PULL_REQUEST == false ]] && [[ $TRAVIS_REPO_SLUG == greatman/craftconomy3
]] && [[ $TRAVIS_BRANCH == master ]]; then openssl aes-256-cbc -k "$opensslkey" -in key.gpg.enc -out key.gpg -d; fi'
- mysql -e 'create database craftconomy;'
- git clone https://github.com/Aztorius/GreatmancodeTools.git
- cd GreatmancodeTools
- ./gradlew install
- cd ..
script:
- ./gradlew -Dmysql=true && ./gradlew
after_success:
- 'if [[ $TRAVIS_PULL_REQUEST == false ]] && [[ $TRAVIS_REPO_SLUG == greatman/craftconomy3
]] && [[ $TRAVIS_BRANCH == master ]]; then ./gradlew uploadArchives; fi'
notifications:
email: false
on_start: true
webhooks:
- http://n.tkte.ch/h/532/Xo4RyovGi5OccQTo2cOb5Xlf
env:
global:
- secure: EBZCH5tIhdY4m1Jf/4oeurfXUV3R9d6bDwxnbTIke88nMPKoYV48V4a1cObiBXbYrV4ivWJqqbfTHv/f7cPMzwCHc7fT2cfjxLCOsVXzyJhAk49RMlQFyfA8dyb+UKi3W20PJfJ/itJJLlnFOTUBVeiHUGp8uTBMa0qH4c3oxNo=
- secure: dvpFZ7DH3HWDb20nD4kf2SfdVWynRFBRyhiwnwfpfhbTwr4vCGSN9PqQjT985aMknN8va4L9Bx43RmQ5xXIzHPWyqkD/MzqN/PtZk4eoH7mtkovDtUb+84GqxjjX8P0GojQNulyxekQsis/CyLXnjD+pHVwfR9vA0w7ZQIszdLA=
- secure: gyjOwsFfhTAnJUi8iK2X6Y5dCnyKWWw1uhOCJVMxaDdctJtrsdUCbOsfE5KxIZrWGFaVnMyoYa4df2lyfmUfB0ZJy0v+k3Jh747B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