|
|
@ -3,7 +3,7 @@ version: 2 |
|
|
|
aliases: |
|
|
|
aliases: |
|
|
|
- &defaults |
|
|
|
- &defaults |
|
|
|
docker: |
|
|
|
docker: |
|
|
|
- image: circleci/ruby:2.6.0-stretch-node |
|
|
|
- image: circleci/ruby:2.6-stretch-node |
|
|
|
environment: &ruby_environment |
|
|
|
environment: &ruby_environment |
|
|
|
BUNDLE_APP_CONFIG: ./.bundle/ |
|
|
|
BUNDLE_APP_CONFIG: ./.bundle/ |
|
|
|
DB_HOST: localhost |
|
|
|
DB_HOST: localhost |
|
|
@ -105,14 +105,14 @@ jobs: |
|
|
|
install-ruby2.5: |
|
|
|
install-ruby2.5: |
|
|
|
<<: *defaults |
|
|
|
<<: *defaults |
|
|
|
docker: |
|
|
|
docker: |
|
|
|
- image: circleci/ruby:2.5.3-stretch-node |
|
|
|
- image: circleci/ruby:2.5-stretch-node |
|
|
|
environment: *ruby_environment |
|
|
|
environment: *ruby_environment |
|
|
|
<<: *install_ruby_dependencies |
|
|
|
<<: *install_ruby_dependencies |
|
|
|
|
|
|
|
|
|
|
|
install-ruby2.4: |
|
|
|
install-ruby2.4: |
|
|
|
<<: *defaults |
|
|
|
<<: *defaults |
|
|
|
docker: |
|
|
|
docker: |
|
|
|
- image: circleci/ruby:2.4.5-stretch-node |
|
|
|
- image: circleci/ruby:2.4-stretch-node |
|
|
|
environment: *ruby_environment |
|
|
|
environment: *ruby_environment |
|
|
|
<<: *install_ruby_dependencies |
|
|
|
<<: *install_ruby_dependencies |
|
|
|
|
|
|
|
|
|
|
@ -131,40 +131,40 @@ jobs: |
|
|
|
test-ruby2.6: |
|
|
|
test-ruby2.6: |
|
|
|
<<: *defaults |
|
|
|
<<: *defaults |
|
|
|
docker: |
|
|
|
docker: |
|
|
|
- image: circleci/ruby:2.6.0-stretch-node |
|
|
|
- image: circleci/ruby:2.6-stretch-node |
|
|
|
environment: *ruby_environment |
|
|
|
environment: *ruby_environment |
|
|
|
- image: circleci/postgres:10.6-alpine |
|
|
|
- image: circleci/postgres:10.6-alpine |
|
|
|
environment: |
|
|
|
environment: |
|
|
|
POSTGRES_USER: root |
|
|
|
POSTGRES_USER: root |
|
|
|
- image: circleci/redis:5.0.3-alpine3.8 |
|
|
|
- image: circleci/redis:5-alpine |
|
|
|
<<: *test_steps |
|
|
|
<<: *test_steps |
|
|
|
|
|
|
|
|
|
|
|
test-ruby2.5: |
|
|
|
test-ruby2.5: |
|
|
|
<<: *defaults |
|
|
|
<<: *defaults |
|
|
|
docker: |
|
|
|
docker: |
|
|
|
- image: circleci/ruby:2.5.3-stretch-node |
|
|
|
- image: circleci/ruby:2.5-stretch-node |
|
|
|
environment: *ruby_environment |
|
|
|
environment: *ruby_environment |
|
|
|
- image: circleci/postgres:10.6-alpine |
|
|
|
- image: circleci/postgres:10.6-alpine |
|
|
|
environment: |
|
|
|
environment: |
|
|
|
POSTGRES_USER: root |
|
|
|
POSTGRES_USER: root |
|
|
|
- image: circleci/redis:4.0.12-alpine |
|
|
|
- image: circleci/redis:5-alpine |
|
|
|
<<: *test_steps |
|
|
|
<<: *test_steps |
|
|
|
|
|
|
|
|
|
|
|
test-ruby2.4: |
|
|
|
test-ruby2.4: |
|
|
|
<<: *defaults |
|
|
|
<<: *defaults |
|
|
|
docker: |
|
|
|
docker: |
|
|
|
- image: circleci/ruby:2.4.5-stretch-node |
|
|
|
- image: circleci/ruby:2.4-stretch-node |
|
|
|
environment: *ruby_environment |
|
|
|
environment: *ruby_environment |
|
|
|
- image: circleci/postgres:10.6-alpine |
|
|
|
- image: circleci/postgres:10.6-alpine |
|
|
|
environment: |
|
|
|
environment: |
|
|
|
POSTGRES_USER: root |
|
|
|
POSTGRES_USER: root |
|
|
|
- image: circleci/redis:4.0.12-alpine |
|
|
|
- image: circleci/redis:5-alpine |
|
|
|
<<: *test_steps |
|
|
|
<<: *test_steps |
|
|
|
|
|
|
|
|
|
|
|
test-webui: |
|
|
|
test-webui: |
|
|
|
<<: *defaults |
|
|
|
<<: *defaults |
|
|
|
docker: |
|
|
|
docker: |
|
|
|
- image: circleci/node:8.15.0-stretch |
|
|
|
- image: circleci/node:12.9-stretch |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- *attach_workspace |
|
|
|
- *attach_workspace |
|
|
|
- run: ./bin/retry yarn test:jest |
|
|
|
- run: ./bin/retry yarn test:jest |
|
|
|