Skip to content

Commit 5c8cbbd

Browse files
author
vitalie
committed
.travis.yml updates
1 parent e437a86 commit 5c8cbbd

File tree

1 file changed

+33
-31
lines changed

1 file changed

+33
-31
lines changed

.travis.yml

+33-31
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,67 @@
1-
language: ruby
21
dist: bionic
3-
rvm: 2.5.9
42

5-
services:
6-
- redis
3+
language: ruby
4+
rvm: 2.5.9
75

86
cache:
97
bundler: true
108

119
env:
1210
global:
13-
- COVERAGE=1
14-
- PATH=/snap/bin:$PATH
11+
- COVERAGE=1
12+
- PATH=/snap/bin:$PATH
1513
matrix:
16-
- INTEGRATION_SPECS=0
17-
- INTEGRATION_SPECS=1
14+
- INTEGRATION_SPECS=0
15+
- INTEGRATION_SPECS=1
1816

1917
addons:
2018
snaps:
21-
- name: docker
22-
channel: latest/beta
19+
- name: docker
20+
channel: latest/beta
21+
22+
services:
23+
- redis
2324

2425
stages:
25-
- test
26-
- ':ship: it to quay.io'
26+
- test
27+
28+
- ':ship: it to quay.io'
2729

2830
jobs:
2931
allow_failures:
30-
- script: ./script/docker-build-and-push
32+
- script: ./script/docker-build-and-push
3133
include:
32-
- stage: test
33-
env:
34-
script: ./script/validate-example-payloads-with-docker
34+
- stage: test
35+
env:
36+
script: ./script/validate-example-payloads-with-docker
3537

36-
- stage: ':ship: it to quay.io'
37-
env:
38-
script: ./script/docker-build-and-push
39-
if: (branch = master and type = push ) OR commit_message =~ /ship:docker/ OR env(SHIP_DOCKER) = true
38+
- stage: ':ship: it to quay.io'
39+
env:
40+
script: ./script/docker-build-and-push
41+
if: (branch = master and type = push ) OR commit_message =~ /ship:docker/ OR env(SHIP_DOCKER) = true
4042

4143
before_install:
42-
- gem update --silent --system 3.3.26
44+
- gem update --silent --system 3.3.26
4345

4446
before_script:
45-
- eval "$(script/handle-docker-config)"
46-
- bundle install
47-
- bundle exec rake clean assets:precompile
47+
- eval "$(script/handle-docker-config)"
48+
- bundle install
49+
- bundle exec rake clean assets:precompile
4850

4951
script:
50-
- bundle exec rspec spec
51-
- bundle exec rake shfmt
52-
- bundle exec rake assert_clean
53-
- bundle exec rake shellcheck
54-
- bundle exec rake assert_examples
52+
- bundle exec rspec spec
53+
- bundle exec rake shfmt
54+
- bundle exec rake assert_clean
55+
- bundle exec rake shellcheck
56+
- bundle exec rake assert_examples
5557

5658
after_success: bundle exec codeclimate-test-reporter
5759

5860
after_failure: bundle exec rake dump_examples_logs
5961

6062
before_deploy:
61-
- sudo pip install -U -I Pygments
62-
- ./script/build-s3-index-html
63+
- sudo pip install -U -I Pygments
64+
- ./script/build-s3-index-html
6365

6466
deploy:
6567
provider: s3

0 commit comments

Comments
 (0)