mirror of
https://github.com/pry/pry-rails.git
synced 2022-11-09 12:36:03 -05:00
5274190e4c
The Appraisal build was becoming really annoying to maintain, since there's no one version of Ruby that can run the specs across all supported versions of Rails. Roadshow is a tool that's similar to Appraisal but uses Docker to test each version in an isolated environment with the appropriate version of Ruby, at the cost of having to maintain the Gemfiles manually.
15 lines
322 B
YAML
15 lines
322 B
YAML
---
|
|
version: "2"
|
|
services:
|
|
scenario:
|
|
build:
|
|
context: ..
|
|
dockerfile: scenarios/rails31.dockerfile
|
|
image: pryrails_scenario_rails31
|
|
volumes:
|
|
- "..:/scenario"
|
|
- "bundle_rails31:/usr/local/bundle"
|
|
environment:
|
|
BUNDLE_GEMFILE: scenarios/rails31.gemfile
|
|
volumes:
|
|
bundle_rails31: {}
|