mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2025-01-07 23:44:11 -08:00
Build preview
branches in Travis. Publish to bintray only from these branches
This commit is contained in:
parent
5a8c3a9dae
commit
60f8633acb
|
@ -8,6 +8,7 @@ branches:
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
- /^release-.+$/
|
- /^release-.+$/
|
||||||
|
- /^preview-.+/
|
||||||
env:
|
env:
|
||||||
- MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m"
|
- MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=256m"
|
||||||
before_install:
|
before_install:
|
||||||
|
@ -23,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" ]; then
|
if [ "${TRAVIS_PULL_REQUEST:-false}" != "false" ] && [ $TRAVIS_BRANCH == preview-* ]; 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:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user