Fix deployment to bintray

This commit is contained in:
Alexey Andreev 2017-02-16 22:55:30 +03:00
parent 1ea69b7d17
commit 4a5a502b62
2 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ branches:
only:
- master
- /^release-.+$/
- /^preview-.+/
- /^dev-.+/
env:
- MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m"
before_install:
@ -24,7 +24,7 @@ script: >
-Dteavm.junit.optimized=true \
-Dteavm.junit.minified=true
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
fi
after_script:

View File

@ -326,7 +326,7 @@
<repository>
<id>bintray-teavm</id>
<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>
</distributionManagement>
</profile>