-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #382 from gocardless/versions
Clarify our versioning policy and CI configuration
- Loading branch information
Showing
45 changed files
with
132 additions
and
206 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,9 +31,9 @@ references: | |
path: /tmp/test-results | ||
|
||
jobs: | ||
build-ruby241-rails-429-mysql: | ||
build-ruby249-rails-429-mysql: | ||
docker: | ||
- image: circleci/ruby:2.4.1-node | ||
- image: circleci/ruby:2.4.9-node | ||
environment: | ||
- RAILS_VERSION=4.2.9 | ||
- DATABASE_URL=mysql2://[email protected]/statesman_test | ||
|
@@ -45,9 +45,9 @@ jobs: | |
- MYSQL_PASSWORD= | ||
- MYSQL_DATABASE=statesman_test | ||
steps: *steps | ||
build-ruby241-rails-429-postgres: | ||
build-ruby249-rails-429-postgres: | ||
docker: | ||
- image: circleci/ruby:2.4.1-node | ||
- image: circleci/ruby:2.4.9-node | ||
environment: | ||
- RAILS_VERSION=4.2.9 | ||
- DATABASE_URL=postgres://postgres@localhost/statesman_test | ||
|
@@ -57,9 +57,9 @@ jobs: | |
- POSTGRES_USER=postgres | ||
- POSTGRES_DB=statesman_test | ||
steps: *steps | ||
build-ruby241-rails-505-mysql: | ||
build-ruby249-rails-505-mysql: | ||
docker: | ||
- image: circleci/ruby:2.4.1-node | ||
- image: circleci/ruby:2.4.9-node | ||
environment: | ||
- RAILS_VERSION=5.0.5 | ||
- DATABASE_URL=mysql2://[email protected]/statesman_test | ||
|
@@ -71,9 +71,9 @@ jobs: | |
- MYSQL_PASSWORD= | ||
- MYSQL_DATABASE=statesman_test | ||
steps: *steps | ||
build-ruby241-rails-505-postgres: | ||
build-ruby249-rails-505-postgres: | ||
docker: | ||
- image: circleci/ruby:2.4.1-node | ||
- image: circleci/ruby:2.4.9-node | ||
environment: | ||
- RAILS_VERSION=5.0.5 | ||
- DATABASE_URL=postgres://postgres@localhost/statesman_test | ||
|
@@ -83,9 +83,9 @@ jobs: | |
- POSTGRES_USER=postgres | ||
- POSTGRES_DB=statesman_test | ||
steps: *steps | ||
build-ruby241-rails-513-mysql: | ||
build-ruby249-rails-513-mysql: | ||
docker: | ||
- image: circleci/ruby:2.4.1-node | ||
- image: circleci/ruby:2.4.9-node | ||
environment: | ||
- RAILS_VERSION=5.1.3 | ||
- DATABASE_URL=mysql2://[email protected]/statesman_test | ||
|
@@ -97,9 +97,9 @@ jobs: | |
- MYSQL_PASSWORD= | ||
- MYSQL_DATABASE=statesman_test | ||
steps: *steps | ||
build-ruby241-rails-513-postgres: | ||
build-ruby249-rails-513-postgres: | ||
docker: | ||
- image: circleci/ruby:2.4.1-node | ||
- image: circleci/ruby:2.4.9-node | ||
environment: | ||
- RAILS_VERSION=5.1.3 | ||
- DATABASE_URL=postgres://postgres@localhost/statesman_test | ||
|
@@ -109,9 +109,9 @@ jobs: | |
- POSTGRES_USER=postgres | ||
- POSTGRES_DB=statesman_test | ||
steps: *steps | ||
build-ruby262-rails-600-mysql: | ||
build-ruby265-rails-600-mysql: | ||
docker: | ||
- image: circleci/ruby:2.6.2-node | ||
- image: circleci/ruby:2.6.5-node | ||
environment: | ||
- RAILS_VERSION=6.0.0 | ||
- DATABASE_URL=mysql2://[email protected]/statesman_test | ||
|
@@ -123,9 +123,9 @@ jobs: | |
- MYSQL_PASSWORD= | ||
- MYSQL_DATABASE=statesman_test | ||
steps: *steps | ||
build-ruby262-rails-600-postgres: | ||
build-ruby265-rails-600-postgres: | ||
docker: | ||
- image: circleci/ruby:2.6.2-node | ||
- image: circleci/ruby:2.6.5-node | ||
environment: | ||
- RAILS_VERSION=6.0.0 | ||
- DATABASE_URL=postgres://postgres@localhost/statesman_test | ||
|
@@ -135,9 +135,9 @@ jobs: | |
- POSTGRES_USER=postgres | ||
- POSTGRES_DB=statesman_test | ||
steps: *steps | ||
build-ruby262-rails-master-mysql: | ||
build-ruby265-rails-master-mysql: | ||
docker: | ||
- image: circleci/ruby:2.6.2-node | ||
- image: circleci/ruby:2.6.5-node | ||
environment: | ||
- RAILS_VERSION=master | ||
- DATABASE_URL=mysql2://[email protected]/statesman_test | ||
|
@@ -149,9 +149,9 @@ jobs: | |
- MYSQL_PASSWORD= | ||
- MYSQL_DATABASE=statesman_test | ||
steps: *steps | ||
build-ruby262-rails-master-postgres: | ||
build-ruby265-rails-master-postgres: | ||
docker: | ||
- image: circleci/ruby:2.6.2-node | ||
- image: circleci/ruby:2.6.5-node | ||
environment: | ||
- RAILS_VERSION=master | ||
- DATABASE_URL=postgres://postgres@localhost/statesman_test | ||
|
@@ -162,9 +162,9 @@ jobs: | |
- POSTGRES_USER=postgres | ||
- POSTGRES_DB=statesman_test | ||
steps: *steps | ||
build-ruby241-rails-523-mysql: | ||
build-ruby249-rails-523-mysql: | ||
docker: | ||
- image: circleci/ruby:2.4.1-node | ||
- image: circleci/ruby:2.4.9-node | ||
environment: | ||
- RAILS_VERSION=5.2.3 | ||
- DATABASE_URL=mysql2://[email protected]/statesman_test | ||
|
@@ -176,9 +176,9 @@ jobs: | |
- MYSQL_PASSWORD= | ||
- MYSQL_DATABASE=statesman_test | ||
steps: *steps | ||
build-ruby241-rails-523-postgres: | ||
build-ruby249-rails-523-postgres: | ||
docker: | ||
- image: circleci/ruby:2.4.1-node | ||
- image: circleci/ruby:2.4.9-node | ||
environment: | ||
- RAILS_VERSION=5.2.3 | ||
- DATABASE_URL=postgres://postgres@localhost/statesman_test | ||
|
@@ -188,188 +188,21 @@ jobs: | |
- POSTGRES_USER=postgres | ||
- POSTGRES_DB=statesman_test | ||
steps: *steps | ||
build-ruby233-rails-429-mysql: | ||
docker: | ||
- image: circleci/ruby:2.3.3-node | ||
environment: | ||
- RAILS_VERSION=4.2.9 | ||
- DATABASE_URL=mysql2://[email protected]/statesman_test | ||
- DATABASE_DEPENDENCY_PORT=3306 | ||
- image: circleci/mysql:5.7.18 | ||
environment: | ||
- MYSQL_ALLOW_EMPTY_PASSWORD=true | ||
- MYSQL_USER=root | ||
- MYSQL_PASSWORD= | ||
- MYSQL_DATABASE=statesman_test | ||
steps: *steps | ||
build-ruby233-rails-429-postgres: | ||
docker: | ||
- image: circleci/ruby:2.3.3-node | ||
environment: | ||
- RAILS_VERSION=4.2.9 | ||
- DATABASE_URL=postgres://postgres@localhost/statesman_test | ||
- DATABASE_DEPENDENCY_PORT=5432 | ||
- image: circleci/postgres:9.6 | ||
environment: | ||
- POSTGRES_USER=postgres | ||
- POSTGRES_DB=statesman_test | ||
steps: *steps | ||
build-ruby233-rails-505-mysql: | ||
docker: | ||
- image: circleci/ruby:2.3.3-node | ||
environment: | ||
- RAILS_VERSION=5.0.5 | ||
- DATABASE_URL=mysql2://[email protected]/statesman_test | ||
- DATABASE_DEPENDENCY_PORT=3306 | ||
- image: circleci/mysql:5.7.18 | ||
environment: | ||
- MYSQL_ALLOW_EMPTY_PASSWORD=true | ||
- MYSQL_USER=root | ||
- MYSQL_PASSWORD= | ||
- MYSQL_DATABASE=statesman_test | ||
steps: *steps | ||
build-ruby233-rails-505-postgres: | ||
docker: | ||
- image: circleci/ruby:2.3.3-node | ||
environment: | ||
- RAILS_VERSION=5.0.5 | ||
- DATABASE_URL=postgres://postgres@localhost/statesman_test | ||
- DATABASE_DEPENDENCY_PORT=5432 | ||
- image: circleci/postgres:9.6 | ||
environment: | ||
- POSTGRES_USER=postgres | ||
- POSTGRES_DB=statesman_test | ||
steps: *steps | ||
build-ruby233-rails-513-mysql: | ||
docker: | ||
- image: circleci/ruby:2.3.3-node | ||
environment: | ||
- RAILS_VERSION=5.1.3 | ||
- DATABASE_URL=mysql2://[email protected]/statesman_test | ||
- DATABASE_DEPENDENCY_PORT=3306 | ||
- image: circleci/mysql:5.7.18 | ||
environment: | ||
- MYSQL_ALLOW_EMPTY_PASSWORD=true | ||
- MYSQL_USER=root | ||
- MYSQL_PASSWORD= | ||
- MYSQL_DATABASE=statesman_test | ||
steps: *steps | ||
build-ruby233-rails-513-postgres: | ||
docker: | ||
- image: circleci/ruby:2.3.3-node | ||
environment: | ||
- RAILS_VERSION=5.1.3 | ||
- DATABASE_URL=postgres://postgres@localhost/statesman_test | ||
- DATABASE_DEPENDENCY_PORT=5432 | ||
- image: circleci/postgres:9.6 | ||
environment: | ||
- POSTGRES_USER=postgres | ||
- POSTGRES_DB=statesman_test | ||
steps: *steps | ||
build-ruby227-rails-429-mysql: | ||
docker: | ||
- image: circleci/ruby:2.2.7-node | ||
environment: | ||
- RAILS_VERSION=4.2.9 | ||
- DATABASE_URL=mysql2://[email protected]/statesman_test | ||
- DATABASE_DEPENDENCY_PORT=3306 | ||
- image: circleci/mysql:5.7.18 | ||
environment: | ||
- MYSQL_ALLOW_EMPTY_PASSWORD=true | ||
- MYSQL_USER=root | ||
- MYSQL_PASSWORD= | ||
- MYSQL_DATABASE=statesman_test | ||
steps: *steps | ||
build-ruby227-rails-429-postgres: | ||
docker: | ||
- image: circleci/ruby:2.2.7-node | ||
environment: | ||
- RAILS_VERSION=4.2.9 | ||
- DATABASE_URL=postgres://postgres@localhost/statesman_test | ||
- DATABASE_DEPENDENCY_PORT=5432 | ||
- image: circleci/postgres:9.6 | ||
environment: | ||
- POSTGRES_USER=postgres | ||
- POSTGRES_DB=statesman_test | ||
steps: *steps | ||
build-ruby227-rails-505-mysql: | ||
docker: | ||
- image: circleci/ruby:2.2.7-node | ||
environment: | ||
- RAILS_VERSION=5.0.5 | ||
- DATABASE_URL=mysql2://[email protected]/statesman_test | ||
- DATABASE_DEPENDENCY_PORT=3306 | ||
- image: circleci/mysql:5.7.18 | ||
environment: | ||
- MYSQL_ALLOW_EMPTY_PASSWORD=true | ||
- MYSQL_USER=root | ||
- MYSQL_PASSWORD= | ||
- MYSQL_DATABASE=statesman_test | ||
steps: *steps | ||
build-ruby227-rails-505-postgres: | ||
docker: | ||
- image: circleci/ruby:2.2.7-node | ||
environment: | ||
- RAILS_VERSION=5.0.5 | ||
- DATABASE_URL=postgres://postgres@localhost/statesman_test | ||
- DATABASE_DEPENDENCY_PORT=5432 | ||
- image: circleci/postgres:9.6 | ||
environment: | ||
- POSTGRES_USER=postgres | ||
- POSTGRES_DB=statesman_test | ||
steps: *steps | ||
build-ruby227-rails-513-mysql: | ||
docker: | ||
- image: circleci/ruby:2.2.7-node | ||
environment: | ||
- RAILS_VERSION=5.1.3 | ||
- DATABASE_URL=mysql2://[email protected]/statesman_test | ||
- DATABASE_DEPENDENCY_PORT=3306 | ||
- image: circleci/mysql:5.7.18 | ||
environment: | ||
- MYSQL_ALLOW_EMPTY_PASSWORD=true | ||
- MYSQL_USER=root | ||
- MYSQL_PASSWORD= | ||
- MYSQL_DATABASE=statesman_test | ||
steps: *steps | ||
build-ruby227-rails-513-postgres: | ||
docker: | ||
- image: circleci/ruby:2.2.7-node | ||
environment: | ||
- RAILS_VERSION=5.1.3 | ||
- DATABASE_URL=postgres://postgres@localhost/statesman_test | ||
- DATABASE_DEPENDENCY_PORT=5432 | ||
- image: circleci/postgres:9.6 | ||
environment: | ||
- POSTGRES_USER=postgres | ||
- POSTGRES_DB=statesman_test | ||
steps: *steps | ||
|
||
|
||
workflows: | ||
version: 2 | ||
tests: | ||
jobs: | ||
- build-ruby241-rails-429-mysql | ||
- build-ruby241-rails-429-postgres | ||
- build-ruby241-rails-505-mysql | ||
- build-ruby241-rails-505-postgres | ||
- build-ruby241-rails-513-mysql | ||
- build-ruby241-rails-513-postgres | ||
- build-ruby241-rails-523-mysql | ||
- build-ruby241-rails-523-postgres | ||
- build-ruby262-rails-600-mysql | ||
- build-ruby262-rails-600-postgres | ||
- build-ruby262-rails-master-mysql | ||
- build-ruby262-rails-master-postgres | ||
- build-ruby233-rails-429-mysql | ||
- build-ruby233-rails-429-postgres | ||
- build-ruby233-rails-505-mysql | ||
- build-ruby233-rails-505-postgres | ||
- build-ruby233-rails-513-mysql | ||
- build-ruby233-rails-513-postgres | ||
- build-ruby227-rails-429-mysql | ||
- build-ruby227-rails-429-postgres | ||
- build-ruby227-rails-505-mysql | ||
- build-ruby227-rails-505-postgres | ||
- build-ruby227-rails-513-mysql | ||
- build-ruby227-rails-513-postgres | ||
- build-ruby249-rails-429-mysql | ||
- build-ruby249-rails-429-postgres | ||
- build-ruby249-rails-505-mysql | ||
- build-ruby249-rails-505-postgres | ||
- build-ruby249-rails-513-mysql | ||
- build-ruby249-rails-513-postgres | ||
- build-ruby249-rails-523-mysql | ||
- build-ruby249-rails-523-postgres | ||
- build-ruby265-rails-600-mysql | ||
- build-ruby265-rails-600-postgres | ||
- build-ruby265-rails-master-mysql | ||
- build-ruby265-rails-master-postgres |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,4 @@ inherit_gem: | |
gc_ruboconfig: rubocop.yml | ||
|
||
AllCops: | ||
TargetRubyVersion: 2.2 | ||
TargetRubyVersion: 2.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
source 'https://rubygems.org' | ||
|
||
gemspec | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
# A sample Guardfile | ||
# More info at https://github.com/guard/guard#readme | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
require "bundler/gem_tasks" | ||
require "rspec/core/rake_task" | ||
|
||
|
2 changes: 2 additions & 0 deletions
2
lib/generators/statesman/active_record_transition_generator.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
require "rails/generators" | ||
require "generators/statesman/generator_helpers" | ||
|
||
|
Oops, something went wrong.