2015-12-19 16:24:28 -08:00
|
|
|
language: java
|
2015-12-19 16:40:23 -08:00
|
|
|
jdk:
|
2015-12-19 20:10:57 -08:00
|
|
|
- oraclejdk8
|
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
|
2018-03-21 13:01:47 -07:00
|
|
|
secure: F1bVvI4MuNosAozor3CFkeeq8ncE6FaF/lSub+HpmnFvrZprXEfzVvzZj9eh98PPOg5U6/+fsN3vR3hvStZ9u1BXBTFfiKxZZb1xFlnzkX1JpUJJYhARUYNHOMwXxU32syHs40j/ABGU27teLnuwSHcVQGGtxqX2ka5guCxzJnw68B8EgB0gGv7hN0iRocpbpA5uyAtoGyLBIebYQ5r6Bda/8HW1OshW+xNfPc1lcaC2kd0v5OgxjlyCodi4JsJQvdCZOvoMwORjpUamBgVhPS82vqVVONCfkT+j+sCgT5JZsjHjGS7MnSXK4y2Zyt1ghf2MY6gwx5QGmjZnQnTU6agQQ9zLNSW780ugbQxylWLrPQsTTWGqzS4G/rYh7iRJXHw6jJA9FgRGkE14/leox8a3s2QvYTbMgdeMekqw0YCgs4KnxrZYb1edGTOzs3f8jgMofr8EjOWjzDayB4kc+Yp5++BjtTUV6X+jMNKI1tmgOBUrSFQFqt0uvsDkHhcIuCDEHo04ubNPwJhnKl7zkdoVrALrPuTAQI68tfhWuqgP+8FvSAB9Tpw4k3rHdae+LFnG+7q2ktxRlrlV6WevaEFUz1QsokyRAB1VrcEjWEfn87zuBpSDU5NPgs5l0d32QAeP9XbXn+Pp7XGErhDcbHH+C0C9EvTy57sAAf/7ujM=
|
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-03-21 13:10:36 -07:00
|
|
|
repo: Treer/amidstest
|
2016-01-04 05:17:37 -08:00
|
|
|
branch: releases
|
2015-12-19 20:10:57 -08:00
|
|
|
tags: true
|