.circleci/config.yml in statesman-7.0.0 vs .circleci/config.yml in statesman-7.0.1

- old
+ new

@@ -10,11 +10,11 @@ command: echo "$RAILS_VERSION" > ~/RAILS_VERSION.txt - type: cache-restore key: statesman-{{ checksum "Gemfile" }}-{{ checksum "~/RAILS_VERSION.txt" }} - - run: gem install bundler -v 1.3 + - run: gem install bundler -v 2.1.4 - run: bundle install --path vendor/bundle - type: cache-save key: statesman-{{ checksum "Gemfile" }}-{{ checksum "~/RAILS_VERSION.txt" }} @@ -29,10 +29,37 @@ - type: store_test_results path: /tmp/test-results jobs: + build-ruby249-rails-524-mysql: + docker: + - image: circleci/ruby:2.4.9-node + environment: + - RAILS_VERSION=5.2.4 + - DATABASE_URL=mysql2://root@127.0.0.1/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-ruby249-rails-524-postgres: + docker: + - image: circleci/ruby:2.4.9-node + environment: + - RAILS_VERSION=5.2.4 + - 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-ruby265-rails-602-mysql: docker: - image: circleci/ruby:2.6.5-node environment: - RAILS_VERSION=6.0.2 @@ -82,43 +109,74 @@ - image: circleci/postgres:9.6 environment: - POSTGRES_USER=postgres - POSTGRES_DB=statesman_test steps: *steps - build-ruby249-rails-524-mysql: + + build-ruby270-rails-602-mysql: docker: - - image: circleci/ruby:2.4.9-node + - image: circleci/ruby:2.7.0-node environment: - - RAILS_VERSION=5.2.4 + - RAILS_VERSION=6.0.2 - DATABASE_URL=mysql2://root@127.0.0.1/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-ruby249-rails-524-postgres: + build-ruby270-rails-602-postgres: docker: - - image: circleci/ruby:2.4.9-node + - image: circleci/ruby:2.7.0-node environment: - - RAILS_VERSION=5.2.4 + - RAILS_VERSION=6.0.2 - 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-ruby270-rails-master-mysql: + docker: + - image: circleci/ruby:2.7.0-node + environment: + - RAILS_VERSION=master + - DATABASE_URL=mysql2://root@127.0.0.1/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-ruby270-rails-master-postgres: + docker: + - image: circleci/ruby:2.7.0-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 - workflows: version: 2 tests: jobs: - build-ruby249-rails-524-mysql - build-ruby249-rails-524-postgres - build-ruby265-rails-602-mysql - build-ruby265-rails-602-postgres - build-ruby265-rails-master-mysql - build-ruby265-rails-master-postgres + - build-ruby270-rails-602-mysql + - build-ruby270-rails-602-postgres + - build-ruby270-rails-master-mysql + - build-ruby270-rails-master-postgres