Output
{
"shared": {
"working_directory": "~/circleci-demo-workflows",
"steps": [
"checkout",
{
"run": "bundle install --path vendor/bundle"
},
{
"run": "bundle exec rake db:create db:schema:load"
},
{
"run": {
"command": "rake",
"name": "Run tests"
}
}
]
},
"version": 2.0,
"jobs": {
"ruby-2.3": {
"working_directory": "~/circleci-demo-workflows",
"docker": [
{
"image": "circleci/ruby:2.3-node"
},
{
"image": "circleci/postgres:9.4.12-alpine"
}
],
"steps": [
"checkout",
{
"run": "bundle install --path vendor/bundle"
},
{
"run": "bundle exec rake db:create db:schema:load"
},
{
"run": {
"command": "rake",
"name": "Run tests"
}
}
]
},
"ruby-2.2": {
"working_directory": "~/circleci-demo-workflows",
"docker": [
{
"image": "circleci/ruby:2.2-node"
},
{
"image": "circleci/postgres:9.4.12-alpine"
}
],
"steps": [
"checkout",
{
"run": "bundle install --path vendor/bundle"
},
{
"run": "bundle exec rake db:create db:schema:load"
},
{
"run": {
"command": "rake",
"name": "Run tests"
}
}
]
},
"ruby-2.4": {
"working_directory": "~/circleci-demo-workflows",
"docker": [
{
"image": "circleci/ruby:2.4-node"
},
{
"image": "circleci/postgres:9.4.12-alpine"
}
],
"steps": [
"checkout",
{
"run": "bundle install --path vendor/bundle"
},
{
"run": "bundle exec rake db:create db:schema:load"
},
{
"run": {
"command": "rake",
"name": "Run tests"
}
}
]
}
},
"workflows": {
"version": 2,
"build": {
"jobs": [
"ruby-2.2",
"ruby-2.3",
"ruby-2.4"
]
}
}
}