Updated travis.yml

This commit is contained in:
Anuken
2019-08-29 16:52:52 -04:00
parent 33f0d64971
commit 7b0c07533b

View File

@@ -13,6 +13,10 @@ script:
- "./gradlew test"
- "./gradlew desktop:dist -Pbuildversion=${TRAVIS_TAG:1}"
- "./gradlew server:dist -Pbuildversion=${TRAVIS_TAG:1}"
- git clone --depth=1 --branch=master https://github.com/Anuken/MindustryBuilds ../MindustryBuilds
- cd MindustryBuilds
- git tag ${TRAVIS_BUILD}
- git push origin ${TRAVIS_BUILD}
deploy:
- provider: releases
@@ -31,15 +35,6 @@ deploy:
on:
repo: Anuken/Mindustry
tags: true
- provider: script
script:
- git clone --depth=1 --branch=master https://github.com/Anuken/MindustryBuilds ../MindustryBuilds
- cd MindustryBuilds
- git tag ${TRAVIS_BUILD}
- git push origin ${TRAVIS_BUILD}
on:
repo: Anuken/Mindustry
tags: false
env:
global: