.circleci/config.yml in statesman-4.1.1 vs .circleci/config.yml in statesman-4.1.2

- old
+ new

@@ -1,5 +1,6 @@ +--- version: 2 references: steps: &steps - checkout @@ -28,18 +29,10 @@ - type: store_test_results path: /tmp/test-results jobs: - build-ruby241-rails-429-mongo: - docker: - - image: circleci/ruby:2.4.1-node - environment: - - RAILS_VERSION=4.2.9 - - DATABASE_DEPENDENCY_PORT=27017 - - image: circleci/mongo:3 - steps: *steps build-ruby241-rails-429-mysql: docker: - image: circleci/ruby:2.4.1-node environment: - RAILS_VERSION=4.2.9 @@ -64,18 +57,10 @@ - image: circleci/postgres:9.6 environment: - POSTGRES_USER=postgres - POSTGRES_DB=statesman_test steps: *steps - build-ruby241-rails-505-mongo: - docker: - - image: circleci/ruby:2.4.1-node - environment: - - RAILS_VERSION=5.0.5 - - DATABASE_DEPENDENCY_PORT=27017 - - image: circleci/mongo:3 - steps: *steps build-ruby241-rails-505-mysql: docker: - image: circleci/ruby:2.4.1-node environment: - RAILS_VERSION=5.0.5 @@ -100,18 +85,10 @@ - image: circleci/postgres:9.6 environment: - POSTGRES_USER=postgres - POSTGRES_DB=statesman_test steps: *steps - build-ruby241-rails-513-mongo: - docker: - - image: circleci/ruby:2.4.1-node - environment: - - RAILS_VERSION=5.1.3 - - DATABASE_DEPENDENCY_PORT=27017 - - image: circleci/mongo:3 - steps: *steps build-ruby241-rails-513-mysql: docker: - image: circleci/ruby:2.4.1-node environment: - RAILS_VERSION=5.1.3 @@ -136,23 +113,15 @@ - image: circleci/postgres:9.6 environment: - POSTGRES_USER=postgres - POSTGRES_DB=statesman_test steps: *steps - build-ruby262-rails-600-mongo: - docker: - - image: circleci/ruby:2.6.2-node - environment: - - RAILS_VERSION=6.0.0.rc1 - - DATABASE_DEPENDENCY_PORT=27017 - - image: circleci/mongo:3 - steps: *steps build-ruby262-rails-600-mysql: docker: - image: circleci/ruby:2.6.2-node environment: - - RAILS_VERSION=6.0.0.rc1 + - RAILS_VERSION=6.0.0 - DATABASE_URL=mysql2://root@127.0.0.1/statesman_test - EXCLUDE_MONGOID=true - DATABASE_DEPENDENCY_PORT=3306 - image: circleci/mysql:5.7.18 environment: @@ -163,27 +132,47 @@ steps: *steps build-ruby262-rails-600-postgres: docker: - image: circleci/ruby:2.6.2-node environment: - - RAILS_VERSION=6.0.0.rc1 + - RAILS_VERSION=6.0.0 - DATABASE_URL=postgres://postgres@localhost/statesman_test - EXCLUDE_MONGOID=true - DATABASE_DEPENDENCY_PORT=5432 - image: circleci/postgres:9.6 environment: - POSTGRES_USER=postgres - POSTGRES_DB=statesman_test steps: *steps - build-ruby241-rails-523-mongo: + build-ruby262-rails-master-mysql: docker: - - image: circleci/ruby:2.4.1-node + - image: circleci/ruby:2.6.2-node environment: - - RAILS_VERSION=5.2.3 - - DATABASE_DEPENDENCY_PORT=27017 - - image: circleci/mongo:3 + - RAILS_VERSION=master + - DATABASE_URL=mysql2://root@127.0.0.1/statesman_test + - EXCLUDE_MONGOID=true + - 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-ruby262-rails-master-postgres: + docker: + - image: circleci/ruby:2.6.2-node + environment: + - RAILS_VERSION=master + - DATABASE_URL=postgres://postgres@localhost/statesman_test + - EXCLUDE_MONGOID=true + - DATABASE_DEPENDENCY_PORT=5432 + - image: circleci/postgres:9.6 + environment: + - POSTGRES_USER=postgres + - POSTGRES_DB=statesman_test + steps: *steps build-ruby241-rails-523-mysql: docker: - image: circleci/ruby:2.4.1-node environment: - RAILS_VERSION=5.2.3 @@ -208,18 +197,10 @@ - image: circleci/postgres:9.6 environment: - POSTGRES_USER=postgres - POSTGRES_DB=statesman_test steps: *steps - build-ruby233-rails-429-mongo: - docker: - - image: circleci/ruby:2.3.3-node - environment: - - RAILS_VERSION=4.2.9 - - DATABASE_DEPENDENCY_PORT=27017 - - image: circleci/mongo:3 - steps: *steps build-ruby233-rails-429-mysql: docker: - image: circleci/ruby:2.3.3-node environment: - RAILS_VERSION=4.2.9 @@ -244,18 +225,10 @@ - image: circleci/postgres:9.6 environment: - POSTGRES_USER=postgres - POSTGRES_DB=statesman_test steps: *steps - build-ruby233-rails-505-mongo: - docker: - - image: circleci/ruby:2.3.3-node - environment: - - RAILS_VERSION=5.0.5 - - DATABASE_DEPENDENCY_PORT=27017 - - image: circleci/mongo:3 - steps: *steps build-ruby233-rails-505-mysql: docker: - image: circleci/ruby:2.3.3-node environment: - RAILS_VERSION=5.0.5 @@ -280,18 +253,10 @@ - image: circleci/postgres:9.6 environment: - POSTGRES_USER=postgres - POSTGRES_DB=statesman_test steps: *steps - build-ruby233-rails-513-mongo: - docker: - - image: circleci/ruby:2.3.3-node - environment: - - RAILS_VERSION=5.1.3 - - DATABASE_DEPENDENCY_PORT=27017 - - image: circleci/mongo:3 - steps: *steps build-ruby233-rails-513-mysql: docker: - image: circleci/ruby:2.3.3-node environment: - RAILS_VERSION=5.1.3 @@ -316,18 +281,10 @@ - image: circleci/postgres:9.6 environment: - POSTGRES_USER=postgres - POSTGRES_DB=statesman_test steps: *steps - build-ruby227-rails-429-mongo: - docker: - - image: circleci/ruby:2.2.7-node - environment: - - RAILS_VERSION=4.2.9 - - DATABASE_DEPENDENCY_PORT=27017 - - image: circleci/mongo:3 - steps: *steps build-ruby227-rails-429-mysql: docker: - image: circleci/ruby:2.2.7-node environment: - RAILS_VERSION=4.2.9 @@ -352,18 +309,10 @@ - image: circleci/postgres:9.6 environment: - POSTGRES_USER=postgres - POSTGRES_DB=statesman_test steps: *steps - build-ruby227-rails-505-mongo: - docker: - - image: circleci/ruby:2.2.7-node - environment: - - RAILS_VERSION=5.0.5 - - DATABASE_DEPENDENCY_PORT=27017 - - image: circleci/mongo:3 - steps: *steps build-ruby227-rails-505-mysql: docker: - image: circleci/ruby:2.2.7-node environment: - RAILS_VERSION=5.0.5 @@ -388,18 +337,10 @@ - image: circleci/postgres:9.6 environment: - POSTGRES_USER=postgres - POSTGRES_DB=statesman_test steps: *steps - build-ruby227-rails-513-mongo: - docker: - - image: circleci/ruby:2.2.7-node - environment: - - RAILS_VERSION=5.1.3 - - DATABASE_DEPENDENCY_PORT=27017 - - image: circleci/mongo:3 - steps: *steps build-ruby227-rails-513-mysql: docker: - image: circleci/ruby:2.2.7-node environment: - RAILS_VERSION=5.1.3 @@ -429,38 +370,29 @@ workflows: version: 2 tests: jobs: - - build-ruby241-rails-429-mongo - build-ruby241-rails-429-mysql - build-ruby241-rails-429-postgres - - build-ruby241-rails-505-mongo - build-ruby241-rails-505-mysql - build-ruby241-rails-505-postgres - - build-ruby241-rails-513-mongo - build-ruby241-rails-513-mysql - build-ruby241-rails-513-postgres - - build-ruby241-rails-523-mongo - build-ruby241-rails-523-mysql - build-ruby241-rails-523-postgres - - build-ruby262-rails-600-mongo - build-ruby262-rails-600-mysql - build-ruby262-rails-600-postgres - - build-ruby233-rails-429-mongo + - build-ruby262-rails-master-mysql + - build-ruby262-rails-master-postgres - build-ruby233-rails-429-mysql - build-ruby233-rails-429-postgres - - build-ruby233-rails-505-mongo - build-ruby233-rails-505-mysql - build-ruby233-rails-505-postgres - - build-ruby233-rails-513-mongo - build-ruby233-rails-513-mysql - build-ruby233-rails-513-postgres - - build-ruby227-rails-429-mongo - build-ruby227-rails-429-mysql - build-ruby227-rails-429-postgres - - build-ruby227-rails-505-mongo - build-ruby227-rails-505-mysql - build-ruby227-rails-505-postgres - - build-ruby227-rails-513-mongo - build-ruby227-rails-513-mysql - build-ruby227-rails-513-postgres