-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy path.travis.yml
More file actions
36 lines (33 loc) · 783 Bytes
/
.travis.yml
File metadata and controls
36 lines (33 loc) · 783 Bytes
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
language: ruby
rvm: 3.2.2
dist: noble
cache:
bundler: true
directories:
- ${HOME}/perl5
- ${HOME}/.cache
env:
global:
- PATH=/snap/bin:$PATH
jobs:
include:
- stage: "Testing time"
services:
- redis
- rabbitmq
- postgresql
before_install:
- sudo apt-get update
- 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 systemctl start redis-server
- bundle exec rake setup
- stage: ":ship: it to quay.io"
dist: noble
language: bash
script: make ship
if: (branch = master and type = push ) OR commit_message =~ /ship:docker/ OR env(SHIP_DOCKER) = true