-
Notifications
You must be signed in to change notification settings - Fork 67
/
.travis.yml
31 lines (25 loc) · 953 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
dist: focal
sudo: required
services:
- docker
language:
- ruby
rvm:
- 2.6.6
env:
global:
- DOCKER_COMPOSE_VERSION=1.28.6
- DOCKER_BUILDX_VERSION=0.5.1
- PUPPETSERVER_IMAGE=puppet/puppetserver:edge
before_install:
- sudo rm /usr/local/bin/docker-compose
- curl --location https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname --kernel-name`-`uname --machine` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
- mkdir -vp ~/.docker/cli-plugins
- curl --location https://github.com/docker/buildx/releases/download/v${DOCKER_BUILDX_VERSION}/buildx-v${DOCKER_BUILDX_VERSION}.linux-amd64 > ~/.docker/cli-plugins/docker-buildx
- chmod +x ~/.docker/cli-plugins/docker-buildx
# Use --fail-fast so if the cluster fails to come up successfully we don't need
# to wait for every service to time out
script:
- bundle exec rspec spec --fail-fast