diff --git a/.travis.yml b/.travis.yml index 56f36d3..1e0c7c1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,9 +7,12 @@ jobs: install: skip # bundle install is not required include: script: make run-test - - script: make quality-analysis + - script: 'if [ "$SONAR_HOST_URL" != "false" ]; then bash -c "make quality-analysis"; fi' - stage: deploy install: skip # bundle install is not required + branches: + only: + - master script: make deploy-package