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: 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:

View File

@ -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>