2020-06-26 13:02:51 +02:00
|
|
|
language: java
|
2021-07-12 22:18:13 +02:00
|
|
|
dist: trusty
|
2020-07-02 23:48:22 +02:00
|
|
|
|
2020-07-04 03:07:32 +02:00
|
|
|
before_install:
|
2020-07-04 03:09:00 +02:00
|
|
|
- cd BuildTools
|
2021-07-13 21:31:30 +02:00
|
|
|
- bash build-pre1.17.sh
|
2021-07-12 22:18:13 +02:00
|
|
|
- wget https://github.com/sormuras/bach/raw/master/install-jdk.sh
|
|
|
|
- chmod +x $TRAVIS_BUILD_DIR/BuildTools/install-jdk.sh
|
|
|
|
- export JAVA_HOME=$HOME/openjdk16
|
|
|
|
- $TRAVIS_BUILD_DIR/BuildTools/install-jdk.sh -F 16 --target $JAVA_HOME
|
|
|
|
- export PATH=$JAVA_HOME/bin:$PATH
|
2021-07-28 23:07:53 +02:00
|
|
|
#- bash build-1.17+.sh
|
2020-07-04 03:03:53 +02:00
|
|
|
- cd ../
|
2020-07-04 03:07:32 +02:00
|
|
|
|
2020-07-04 03:49:58 +02:00
|
|
|
install:
|
|
|
|
- mvn -U clean install
|
|
|
|
|
2020-07-04 03:07:32 +02:00
|
|
|
script:
|
2020-07-04 03:49:58 +02:00
|
|
|
- mvn package -DskipTests
|
2020-07-02 23:48:22 +02:00
|
|
|
|
2020-07-04 03:03:53 +02:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.m2
|
2020-07-06 12:19:51 +02:00
|
|
|
- BuildTools/Bukkit
|
|
|
|
- BuildTools/Spigot
|
|
|
|
- BuildTools/CraftBukkit
|
|
|
|
- BuildTools/BuildData
|
|
|
|
|
2020-07-04 19:03:26 +02:00
|
|
|
before-deploy:
|
2020-07-04 19:14:11 +02:00
|
|
|
- export FOO=$(ls Server/plugins/ChestsPlusPlus-*.jar)
|
2020-07-04 03:03:53 +02:00
|
|
|
|
2020-06-26 13:02:51 +02:00
|
|
|
deploy:
|
|
|
|
provider: releases
|
2020-07-07 20:22:30 +02:00
|
|
|
skip_cleanup: true
|
2020-07-07 20:38:47 +02:00
|
|
|
draft: true
|
2020-06-26 13:02:51 +02:00
|
|
|
api_key:
|
2020-07-07 22:18:14 +02:00
|
|
|
secure: PQ5CocKxo9VifO+yJzTPHGgbRZT5tOu2sWLLov6yvwkIRyItb2xAmdpyNUlJq2XrtEUaZFRgrioiSFcujriRFMQ0zSvPz3JYPaUwkp/98ljLobNJwGLyzj4IUJrdXPQnq/DLNm5GEwxuzWqRl+3RemEeZsm6cPf8hQY1QKeJIa8FnwH0hjmaDQSRq7GQDpsN3XIqwClNoV3tgOvNa+7qXEfh4lQA78hnS3bX8GlHzuzV8rBW2ttzFSdeMcV+hnoGYN/dv8CnX+4mz0hNuwX+N1+5pgfnc2wKnAlUu6maYyTt9z71sX2lnGyoTh1Nq5rxbk36PuovYqlhqJhmgEGCtQnSILUpL1ndNDDl3zBMskZugA70/PuXL46y5vdsP9zqTh0Q+xFsXx9zByIVEPSi8m2+F4MM6693i7OOm775cFFUB9G9NKpJnWcTmW0CG4yW0nYmyg8PnERe4uFsxCBk7iaEC7y4Gtk8XqasKDmLNrPxwWVN8bvRU5m2ai41WLgLS/Wnff3dOOlVftFjRVkjjSK5Gxcvb39DVITJyNabEqkYyeFBWw7MoL2pPJyICEyHt2bj6uLq92h5v8JDKI1eDBtoW341wLesaQMhqRW3UNbN9AOmA+saJQHR6WerNyKOBSaBhy/MdlfCvzycqIfuNx/BcVv3xLUodliFM2iwD8I=
|
2020-06-26 13:02:51 +02:00
|
|
|
file: "${FOO}"
|
|
|
|
on:
|
|
|
|
tags: true
|
|
|
|
repo: JamesPeters98/ChestsPlusPlus
|