diff --git a/.travis.settings.xml b/.travis.settings.xml index 9bc015e..a2bdbeb 100644 --- a/.travis.settings.xml +++ b/.travis.settings.xml @@ -5,6 +5,7 @@ github + mchv @@ -24,6 +25,16 @@ + + mchv + + + mchv + MCHV + https://mvn.mchv.eu + + + @@ -32,6 +43,11 @@ Cavallium ${env.PACKAGECLOUD_TOKEN} + + mchv + cavallium + ${env.MCHVCLOUD_TOKEN} + diff --git a/travis/build_success.sh b/travis/build_success.sh index dc0a244..d215307 100755 --- a/travis/build_success.sh +++ b/travis/build_success.sh @@ -60,7 +60,8 @@ if [[ ! -z "$(git status --porcelain | grep "src/main/resources/libs/$TRAVIS_OS_ git tag -a "v$NEW_VERSION" -m "Version $NEW_VERSION" git push origin "v$NEW_VERSION" git push - mvn -B -V deploy + mvn -B -V deploy -P publish-to-mchv + mvn -B -V deploy -P publish-to-github # Upgrade the dependency of tdlight-java cd $TRAVIS_BUILD_DIR