From ec47225abd7234475a2611ffe09fb80cdf4d0b4c Mon Sep 17 00:00:00 2001 From: jfederico Date: Fri, 20 Sep 2019 15:56:45 +0000 Subject: [PATCH] Replaced tocken for slack notifications on travis --- .travis.yml | 35 +++++++++++++++-------------------- 1 file changed, 15 insertions(+), 20 deletions(-) diff --git a/.travis.yml b/.travis.yml index e9abbed8..1d90c80b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,29 +1,24 @@ sudo: required - language: ruby cache: bundler - rvm: - - 2.5.1 - +- 2.5.1 jobs: include: - - stage: test - name: rubocop - script: bundle exec rubocop - if: env(CD_TEST_IGNORE) IS NOT present - - - stage: test - name: rspec - script: gem install bundler & bundle exec rspec - if: env(CD_TEST_IGNORE) IS NOT present - - - stage: build - name: build docker image - script: bash scripts/image_build.sh $TRAVIS_REPO_SLUG $TRAVIS_BRANCH - if: env(CD_BUILD_IGNORE) IS NOT present AND type NOT IN (pull_request) AND env(CD_DOCKER_USERNAME) IS present AND env(CD_DOCKER_PASSWORD) IS present - + - stage: test + name: rubocop + script: bundle exec rubocop + if: env(CD_TEST_IGNORE) IS NOT present + - stage: test + name: rspec + script: gem install bundler & bundle exec rspec + if: env(CD_TEST_IGNORE) IS NOT present + - stage: build + name: build docker image + script: bash scripts/image_build.sh $TRAVIS_REPO_SLUG $TRAVIS_BRANCH + if: env(CD_BUILD_IGNORE) IS NOT present AND type NOT IN (pull_request) AND env(CD_DOCKER_USERNAME) + IS present AND env(CD_DOCKER_PASSWORD) IS present notifications: email: false slack: - secure: SSt7FJExMkQ5jLfLMSZzF+I3OHK+nohFXDqf5JtxnH+ql4F70QphClPmJrXg6/AuokLQwWU1QE66EBkjq0dWf+4yQPyKH450fBznqz3el7ybnItuTcOnK4F/F5nt9ekYhXUZ4UJSKiyZbNp8RIjBFcxDQyn8+zX+etTMRW+Dfulj6It9jweqv1/Qm4H9KyJeGLWDdyNOz8yXkKVBGe4uXATXbYUoZtEBwg5JDuK9g2suHqn+si6br7cSySMpJTEoy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