mirror of
https://github.com/konsoletyper/teavm.git
synced 2024-11-21 01:00:54 +08:00
Fix deployment to bintray
This commit is contained in:
parent
1ea69b7d17
commit
4a5a502b62
@ -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:
|
||||
|
2
pom.xml
2
pom.xml
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user