message: Prevent PR build spam on Slack
diff: @@ -16,19 +16,18 @@ addons:
  secure: NC3ew4c92DO4SAdbJvaZkaRnEZaZcAr9NcxOeraqAKHRXY3COnerWGR8+kIE9KiadcRdatmu0sSjWldDcAZfmMwOraMI9CDkqdPSjtjciCVEFdGi+OPOvMY/gOJU6XeM7lsO5MvYD7mqChl2gR6s7IO/klPahf53c97PPDo3C90=
  env:
  global:
  - - DISPLAY=:99
  - - secure: OBoBxz2A3UgYu2UW+xoTKnOd1sYotcWFI+wgnAsDqZq3iyROj/n+Ozl8Vye7OkecOMpiw6Szy7LI0nfL4uJ5qTdC9dcn60snd7pebOYWFKHSDnyYhrMcYjhUx5WEQyBIdBWQ0lCLM+zrFQA92JuGSQzkwoAfnZy+NRIUGvs2R/Y=
  + - 'DISPLAY=:99'
  before_install:
  -- rm -rf node_modules
  + - 'rm -rf node_modules'
  before_script:
  -- npm install grunt-cli -g
  -- sh -e /etc/init.d/xvfb start
  -- sleep 3
  + - 'npm install grunt-cli -g'
  + - 'sh -e /etc/init.d/xvfb start'
  + - 'sleep 3'
  script:
  -- travis_wait npm test && npm run frisby && NODE_ENV=ctf npm run protractor
  + - 'travis_wait npm test && npm run frisby && NODE_ENV=ctf npm run protractor'
  after_success:
  -- "./node_modules/.bin/lcov-result-merger 'build/reports/coverage/*/lcov.info' 'build/reports/coverage/lcov_merged.info'"
  -- "./node_modules/.bin/codeclimate-test-reporter < ./build/reports/coverage/lcov_merged.info"
  + - './node_modules/.bin/lcov-result-merger ''build/reports/coverage/*/lcov.info'' ''build/reports/coverage/lcov_merged.info'''
  + - './node_modules/.bin/codeclimate-test-reporter < ./build/reports/coverage/lcov_merged.info'
  notifications:
  email:
  - secure: ADLqaNm7lR8sgCkSz7eWtWdm8zZ9OsbkcQAi2nm7hQPWAkTWPfr9qeOBh39Z3PZvkgDdlUpNZc/uPlcEGEILznJRF3HlQjWrWksNNtY3xaRc01B4uXlDbODjttb6v9mOqkwUqRfQLeerOqNynNSkT129+mz4FANn0+oucZ3EuQc=
  @@ -45,10 +44,11 @@ notifications:
  on_success: change
  on_failure: change
  on_start: never
  + on_pull_requests: false
  before_deploy:
  -- rm -rf node_modules
  -- npm install --production
  -- grunt package
  + - 'rm -rf node_modules'
  + - 'npm install --production'
  + - 'grunt package'
  deploy:
  - provider: heroku
  api_key:
  @@ -67,7 +67,7 @@ deploy:
  skip_cleanup: true
  file_glob: true
  draft: true
  - tag_name: "$TRAVIS_TAG"
  + tag_name: $TRAVIS_TAG
  on:
  repo: bkimminich/juice-shop
  tags: true
  