From da85df2dc7e7a2763703df64d0e5d553bb55d949 Mon Sep 17 00:00:00 2001 From: vitalie Date: Fri, 26 May 2023 19:53:26 +0300 Subject: [PATCH] .travis.yml updates --- .travis.yml | 54 ++++++++++++++++++++++++++--------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/.travis.yml b/.travis.yml index 138226a3de..74d679799b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,56 +10,56 @@ cache: env: global: - - COVERAGE=1 - - PATH=/snap/bin:$PATH + - COVERAGE=1 + - PATH=/snap/bin:$PATH matrix: - - INTEGRATION_SPECS=0 - - INTEGRATION_SPECS=1 + - INTEGRATION_SPECS=0 + - INTEGRATION_SPECS=1 addons: snaps: - - name: docker - channel: latest/beta + - name: docker + channel: latest/beta stages: -- test -- ':ship: it to quay.io' + - test + - ':ship: it to quay.io' jobs: allow_failures: - - script: ./script/docker-build-and-push + - script: ./script/docker-build-and-push include: - - stage: test - env: - script: ./script/validate-example-payloads-with-docker + - stage: test + env: + script: ./script/validate-example-payloads-with-docker - - stage: ':ship: it to quay.io' - env: - script: ./script/docker-build-and-push - if: (branch = master and type = push ) OR commit_message =~ /ship:docker/ OR env(SHIP_DOCKER) = true + - stage: ':ship: it to quay.io' + env: + script: ./script/docker-build-and-push + if: (branch = master and type = push ) OR commit_message =~ /ship:docker/ OR env(SHIP_DOCKER) = true before_install: -- gem update --silent --system 3.3.26 + - gem update --silent --system 3.3.26 before_script: -- eval "$(script/handle-docker-config)" -- bundle install -- bundle exec rake clean assets:precompile + - eval "$(script/handle-docker-config)" + - bundle install + - bundle exec rake clean assets:precompile script: -- bundle exec rspec spec -- bundle exec rake shfmt -- bundle exec rake assert_clean -- bundle exec rake shellcheck -- bundle exec rake assert_examples + - bundle exec rspec spec + - bundle exec rake shfmt + - bundle exec rake assert_clean + - bundle exec rake shellcheck + - bundle exec rake assert_examples after_success: bundle exec codeclimate-test-reporter after_failure: bundle exec rake dump_examples_logs before_deploy: -- sudo pip install -U -I Pygments -- ./script/build-s3-index-html + - sudo pip install -U -I Pygments + - ./script/build-s3-index-html deploy: provider: s3