From 4a5a502b62992514aa33f002c17a66cb1fbc0a62 Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Thu, 16 Feb 2017 22:55:30 +0300 Subject: [PATCH] Fix deployment to bintray --- .travis.yml | 4 ++-- pom.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 42122dbb5..8d3863929 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: diff --git a/pom.xml b/pom.xml index 2a3b3e54f..21ef62019 100644 --- a/pom.xml +++ b/pom.xml @@ -326,7 +326,7 @@ bintray-teavm Bintray Preview Repository - https://api.bintray.com/maven/konsoletyper/teavm-preview/teavm/;publish=1 + https://api.bintray.com/maven/konsoletyper/teavm/teavm-dev/;publish=1