-
Notifications
You must be signed in to change notification settings - Fork 29
/
.travis.yml
41 lines (38 loc) · 925 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
language: ruby
rvm: 3.2.2
dist: xenial
cache:
bundler: true
directories:
- ${HOME}/perl5
- ${HOME}/.cache
env:
global:
- PATH=/snap/bin:$PATH
jobs:
include:
- stage: "Testing time"
services:
- redis
- rabbitmq
addons:
postgresql: 11
apt:
packages:
- postgresql-server-dev-11
before_install:
- script/install-sqitch
- script/install-partman
- eval "$(perl -I ~/perl5/lib/perl5/ '-Mlocal::lib')"
- bundle config set --local path 'vendor/bundle'
- gem install bundler
before_script:
- sudo apt-get install postgresql-contrib-10
- sudo systemctl start postgresql
- sudo systemctl start redis-server
- bundle exec rake setup
- stage: ":ship: it to quay.io"
dist: focal
language: bash
script: make ship
if: (branch = master and type = push ) OR commit_message =~ /ship:docker/ OR env(SHIP_DOCKER) = true