forked from toolbox4minecraft/amidst
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (28 loc) · 1.53 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
language: java
jdk:
- openjdk8
addons:
apt:
packages:
- libc6:i386 # these two packages are needed by the launch4j maven plugin to work
- libstdc++6:i386
before_install:
- mvn clean # this actually installs a dependency
before_deploy:
- mvn package -DskipTests=true -f travis-ci/wrapper-for-mac/pom.xml
- mvn package -DskipTests=true -f travis-ci/wrapper-for-windows/pom.xml
- bash travis-ci/scripts/zip-and-move-wrapper-for-mac.sh
- export filename=$(bash travis-ci/scripts/get-amidst-filename.sh)
deploy:
provider: releases
api_key: # this encrypted token is only readable by travis ci to access the github accout to attach the files to the created tag/release
secure: aPiYbwV8DGP53SRNPJHLgFWprs6Hv7Rw2h/KMNGOyGYwT+k/psEaJlLpNvBbP5eTsjgseaTjSqyjt5M3tEb6RsGvePWQ4G0M/lgcKIAkEg4QmwJOX4a7oDpG6xcFyx/+l4fZdHQ7EP6CnpFTsNQuojcTvVSpFhV1tdzQJ5XjrOazdldhjN7Bw6vtZSxyH0aYIs9hEvCotWQfIFTh2bMeaS8F9qZdlbFqk/jxzbxC8w8BA/ncXKPg/o/Vb7MZqThVewlXy6DGw+chyp9LYfr/7CPecEWkFz/+2+DRzYry0aucYkTedYB8g0sb+1SFbKvqBtlm0AxBUK4DOHxq2STwFcPQ2LUoDitBGpu/SrHFc1zqa6GS26me6uu/JS640u6nLkJqqvTJTkHmJLRwjAlaGrJs7ZaOAPL/8G3bkbYEUzOy59AgKsVoCM41ExTjiu3aL2VSfg7Ug6R8eMOF8CB836vAQZS55KmXKpf3TFEVFo9EF+jCX9FsW5PFQEe8RHk8+8s5UppTByxSy1Cca4hflYXRWTyhSSjjm4M0dnI3tiOX4+cLE3TnSwgspNGcbWcCU1KxSm64xFwuV5Sxu3btEjCxCNC8gABXCO11HWBRHBPjVfL4aVoaDkzV6BrqW0oMSuvz+WhuSH0mvN0YIsPT6PWUKSQ57K1ICsMbY3JyC5Y=
file:
- "target/${filename}.jar"
- "target/${filename}.zip"
- "target/${filename}.exe"
skip_cleanup: true
on:
repo: toolbox4minecraft/amidst
branch: releases
tags: true