-
Notifications
You must be signed in to change notification settings - Fork 22
/
.travis.yml
45 lines (37 loc) · 990 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
language: ruby
import:
- travis-ci/build-configs:db-setup.yml
rvm: 3.2.2
cache: bundler
env:
matrix:
- RAKE_TASK=spec
global:
- secure: BdVC3OHqYcgePLrkKIk28Ewn/dxCYFf3Cx+Q8P+BCDj6UPJyRSbKmILBzuX96H5xhKmUFo0A/upUhJI9UUP9aXHO7MzRe04/c88QdO4wGacVUaIyB20S0pr262zbc/nA50K9cVgpmWc64n6uQR1tgM6ZyyBnBeXkLzCAOHPq99I=
- PATH=/snap/bin:$PATH
before_install:
- gem uninstall -v '>=2' -i $(rvm gemdir)@global -ax bundler || true
- gem install bundler -v '2.3.7'
- gem install rubygems-update -v 3.4.22
addons:
- apt:
packages:
- rabbitmq-server
services:
- redis
- rabbitmq
jobs:
include:
- stage: "testing time"
script: bundle exec rspec spec
- stage: ":ship: it to quay.io"
dist: focal
group: edge
ruby:
services:
addons:
before_install: skip
before_script: skip
install: skip
script: make ship
if: (branch = master and type = push ) OR commit_message =~ /ship:docker/ OR env(SHIP_DOCKER) = true