forked from DimensionalDevelopment/VanillaFix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (32 loc) · 1.37 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
language: java
notifications:
email: false
if: tag IS blank
git:
depth: 5
before_install: chmod +x gradlew
install: "./gradlew setupCIWorkspace"
script: "./gradlew clean build"
jdk:
- oraclejdk8
before_cache:
- find $HOME/.gradle/ -name '*.lock' -print -exec rm -f {} \;
cache:
directories:
- "$HOME/.gradle/caches/"
- "$HOME/.gradle/wrapper/"
sudo: false
before_deploy:
- export RELEASE_FILE_LIST=$(ls ./build/libs/* | tr '\n' ', ')
- echo "Deploying $RELEASE_FILE_LIST to GitHub releases"
deploy:
skip_cleanup: true
provider: releases
api_key:
secure: uA10FD3zKBCNz9mHCR8V+CLBmNLIUAk7L7ih1fFbKF+vY5ot6VLWDNKdXSdt9G5k+I8o6S8GX0ZxRadGwFhenButerpCyOlBuTeeWOi0pN3aKYGSF1JfdkE7hMJqA2rIUlpp+LBO1tNOvZBl6r6XbtwAfBEbM8j5b6YFDB52eJMqUZuScdHm3CDDnOTdxCdzob9jFQthjdsR0W8eICSMggNbnZq+Vk0R2iCNDuy/rSWmpDqxEnV5slQ2u3sPDmuT45P8m0iMdwwp2J00zqcdF4ZTWh6cphlt3QjZu7NK/P6SxuGHWKl8/aS2X4lXfCMZMQEmstCiWanxsvjTSYrGdFk5uX63x1tmDvrTd9Ow1A4e8HlOQ/ang5DSu2FJYaScYjCe5uh5jhifg2/VM613itrl//Q4Y/y7mXo98STqy0g4p7dBBU6aCAehiTAiPiAKyDDMK8hQJ7s+7Hu49DUxYba9cV08rT20OFWTsELsxT2b3vWjs54Idii0b/s28g7dc9+ehrjx9mfg6Hjm9k/j4BOdBABd1HTmm9S6UKoqZxdRMHUCOWlpwV/3sYVsYmXkCQATMYKaafqJXj3RYvx88NqNyN8dO9jhbK6qeWpjTDb52UIf35aUrzdSiqzkNuLMEHPtx/68IDDOigetVErBABw08Qe6CszjmaL5A2AIsqI=
file_glob: true
file: "{$RELEASE_FILE_LIST}"
on:
repo: DimensionalDevelopment/VanillaFix
branch: master
tags: false