2015-12-19 16:24:28 -08:00
|
|
|
language: java
|
2015-12-19 16:40:23 -08:00
|
|
|
jdk:
|
2020-07-13 07:04:39 -07:00
|
|
|
- openjdk8
|
2015-12-21 18:06:06 -08:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libc6:i386 # these two packages are needed by the launch4j maven plugin to work
|
|
|
|
- libstdc++6:i386
|
2015-12-23 18:18:08 -08:00
|
|
|
before_install:
|
|
|
|
- mvn clean # this actually installs a dependency
|
2015-12-19 20:10:57 -08:00
|
|
|
before_deploy:
|
2015-12-23 18:27:33 -08:00
|
|
|
- mvn package -DskipTests=true -f travis-ci/wrapper-for-mac/pom.xml
|
|
|
|
- mvn package -DskipTests=true -f travis-ci/wrapper-for-windows/pom.xml
|
2015-12-23 18:38:16 -08:00
|
|
|
- bash travis-ci/scripts/zip-and-move-wrapper-for-mac.sh
|
2015-12-23 17:43:32 -08:00
|
|
|
- export filename=$(bash travis-ci/scripts/get-amidst-filename.sh)
|
2015-12-19 20:10:57 -08:00
|
|
|
deploy:
|
|
|
|
provider: releases
|
2016-01-04 07:27:07 -08:00
|
|
|
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
|
2020-07-13 08:36:33 -07:00
|
|
|
secure: ZqjcGz5yL41o70rjKMLQJNDQgR6dDbQh53BC5AWmokAYFcxjtshZBFVIifrvO4SfBnBfvaYsGRl2xy2qNqXoUNbNFw151GaZPbvdYyeG6W0WIWyrlWG5U4NS3fjXXq6Gh/+8hTWRiRDHGiIRNx9QdhqyjazkjepjpZa37WcYu5o/DUrqSTnqv2c/9RuDYRvmVxDktnwfUKbh+uJMW03oPDhvyqm2cWQ2L8BSlCPdsdC5Pl5qEuDwTb+9S6r5oiF2usnwzfgIb4YGGWtCbOgWmsr3NJ65v9bY2iEiZp/V+b6PfCN44jyydkBvnuuLMSvQmSYpgxxqC2yEADSgVBwikwbdikEmU+t5eGGUITZNpwPvqUPYfZbmH+KSSKIV+HRDidaEF43YJcMNuJowu37XgdQKke75gi5EzwvujZhIpUBbLZSV318spwYWbtrj9xPqrEIhmV+MQqO9gjxMDhGH+psQt01D5V2vqagMCRtc2h5SykRyeZekdqHW7SHm32H5CJ4267AjAPkiENTCrCaQJmemclLIgAk8AKCDG/mn68Uv2EOg0ZHU1sPaLcDFbhOiBzwB1feo+1xXRPzceqnoBDVi6+o+qyVWuBsxTsxLkvvRCBy0166sBpsUzFBUePYlhR5ETc+h65Q554xu/jQtxno/bJ1EDtSYWIrYloFSisE=
|
2015-12-20 11:40:14 -08:00
|
|
|
file:
|
|
|
|
- "target/${filename}.jar"
|
2015-12-23 18:18:08 -08:00
|
|
|
- "target/${filename}.zip"
|
2015-12-20 11:40:14 -08:00
|
|
|
- "target/${filename}.exe"
|
2015-12-19 20:10:57 -08:00
|
|
|
skip_cleanup: true
|
|
|
|
on:
|
2018-09-29 00:45:51 -07:00
|
|
|
repo: Treer/Amidst-for-Minetest
|
2016-01-04 05:17:37 -08:00
|
|
|
branch: releases
|
2015-12-19 20:10:57 -08:00
|
|
|
tags: true
|