Commit 1ee1a924 by Marcin Grzejszczak

Reverting changes before adding acceptance tests

parent 704fa7a1
#cache: sudo: false
# directories: cache:
# - $HOME/.m2 directories:
- $HOME/.m2
language: java language: java
sudo: required
# dist: trusty
jdk: jdk:
- oraclejdk8 - oraclejdk8
services: services:
- rabbitmq - rabbitmq
- docker
before_install: before_install:
- git config user.name "$GIT_NAME" - git config user.name "$GIT_NAME"
- git config user.email "$GIT_EMAIL" - git config user.email "$GIT_EMAIL"
...@@ -24,16 +22,13 @@ env: ...@@ -24,16 +22,13 @@ env:
- GIT_EMAIL=dsyer@pivotal.io - GIT_EMAIL=dsyer@pivotal.io
- CI_DEPLOY_USERNAME=buildmaster - CI_DEPLOY_USERNAME=buildmaster
- secure: aeLXRC5oFSddwnZt1/7G2/OHr7jDbxz0ET7sej3I+eSbe3N5vbzQ6FC08es4l89l54ciXd90I1g2BMw7DTYKOO373FP78XPdAEbifJTU4DGd6fCELmoTtUPhjunBIk7E49hisPbv82892IYYA7qi/hzG548cPyZ1IgiJjq0NCsc= - secure: aeLXRC5oFSddwnZt1/7G2/OHr7jDbxz0ET7sej3I+eSbe3N5vbzQ6FC08es4l89l54ciXd90I1g2BMw7DTYKOO373FP78XPdAEbifJTU4DGd6fCELmoTtUPhjunBIk7E49hisPbv82892IYYA7qi/hzG548cPyZ1IgiJjq0NCsc=
- TERM=dumb script: |
script:
- |
echo "Current Branch: ${TRAVIS_BRANCH}" echo "Current Branch: ${TRAVIS_BRANCH}"
echo "Pull Request: ${TRAVIS_PULL_REQUEST}" echo "Pull Request: ${TRAVIS_PULL_REQUEST}"
if [ "${TRAVIS_BRANCH}" = master ] && [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then if [ "${TRAVIS_BRANCH}" = master ] && [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then
echo "[Publishing] Pushing snapshot to Sonatype" echo "[Publishing] Pushing snapshot to Sonatype"
./mvnw -s .settings.xml deploy -P release -nsu -Dmaven.test.redirectTestOutputToFile=false ./mvnw -s .settings.xml deploy -P release -nsu -Dmaven.test.redirectTestOutputToFile=true
else else
echo "[Installing] Intalling snapshot to local maven repo" echo "[Installing] Intalling snapshot to local maven repo"
./mvnw install -nsu -Dmaven.test.redirectTestOutputToFile=false ./mvnw install -nsu -Dmaven.test.redirectTestOutputToFile=true
fi fi
- jdk_switcher use oraclejdk8 && sh -e scripts/runAcceptanceTests.sh
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment