mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
Fix deployment to bintray
This commit is contained in:
parent
1ea69b7d17
commit
4a5a502b62
|
@ -8,7 +8,7 @@ branches:
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
- /^release-.+$/
|
- /^release-.+$/
|
||||||
- /^preview-.+/
|
- /^dev-.+/
|
||||||
env:
|
env:
|
||||||
- MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m"
|
- MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m"
|
||||||
before_install:
|
before_install:
|
||||||
|
@ -24,7 +24,7 @@ script: >
|
||||||
-Dteavm.junit.optimized=true \
|
-Dteavm.junit.optimized=true \
|
||||||
-Dteavm.junit.minified=true
|
-Dteavm.junit.minified=true
|
||||||
after_success: >
|
after_success: >
|
||||||
if [ "${TRAVIS_PULL_REQUEST:-false}" != "false" ] && [ $TRAVIS_BRANCH == preview-* ]; then
|
if [[ "${TRAVIS_PULL_REQUEST:-unknown}" == "false" && $TRAVIS_BRANCH == dev-* ]] ; then
|
||||||
mvn deploy --settings travis-settings.xml -P deploy-to-bintray
|
mvn deploy --settings travis-settings.xml -P deploy-to-bintray
|
||||||
fi
|
fi
|
||||||
after_script:
|
after_script:
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -326,7 +326,7 @@
|
||||||
<repository>
|
<repository>
|
||||||
<id>bintray-teavm</id>
|
<id>bintray-teavm</id>
|
||||||
<name>Bintray Preview Repository</name>
|
<name>Bintray Preview Repository</name>
|
||||||
<url>https://api.bintray.com/maven/konsoletyper/teavm-preview/teavm/;publish=1</url>
|
<url>https://api.bintray.com/maven/konsoletyper/teavm/teavm-dev/;publish=1</url>
|
||||||
</repository>
|
</repository>
|
||||||
</distributionManagement>
|
</distributionManagement>
|
||||||
</profile>
|
</profile>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user