Skip to content

Commit

Permalink
[TEMP] Publish snapshot from PR build
Browse files Browse the repository at this point in the history
  • Loading branch information
mprimi committed Sep 4, 2020
1 parent 917f6b9 commit 4a1b14e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions travis/buildViaTravis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,7 @@ GRADLE_OPTIONS='--stacktrace'
if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
echo -e "Build Pull Request #$TRAVIS_PULL_REQUEST => Branch [$TRAVIS_BRANCH]"
# Build and run all tests, create coverage report
${GRADLE} ${GRADLE_OPTIONS} build codeCoverageReport coveralls
# Re-run genie-web integration tests with MySQL...
INTEGRATION_TEST_DB=mysql ${GRADLE} ${GRADLE_OPTIONS} genie-web:integrationTest
# ... and PostgreSQL
INTEGRATION_TEST_DB=postgresql ${GRADLE} ${GRADLE_OPTIONS} genie-web:integrationTest
# Build Docker images and compile documentation
${GRADLE} ${GRADLE_OPTIONS} javadoc asciidoc dockerBuildAllImages
${GRADLE} ${GRADLE_OPTIONS} -Prelease.travisBranch=pullRequest -Prelease.travisci=true -PbintrayUser="${bintrayUser}" -PbintrayKey="${bintrayKey}" -PsonatypeUsername="${sonatypeUsername}" -PsonatypePassword="${sonatypePassword}" snapshot codeCoverageReport coveralls gitPublishPush dockerPush
elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" == "" ]; then
echo -e 'Build Branch with Snapshot => Branch ['$TRAVIS_BRANCH']'
${GRADLE} ${GRADLE_OPTIONS} -Prelease.travisBranch=$TRAVIS_BRANCH -Prelease.travisci=true -PbintrayUser="${bintrayUser}" -PbintrayKey="${bintrayKey}" -PsonatypeUsername="${sonatypeUsername}" -PsonatypePassword="${sonatypePassword}" snapshot codeCoverageReport coveralls gitPublishPush dockerPush
Expand Down

0 comments on commit 4a1b14e

Please sign in to comment.