Fix circle

This commit is contained in:
Ari Timonen 2020-03-24 23:44:36 +02:00
parent dc2b72670a
commit 93557dfa67
4 changed files with 9 additions and 1 deletions

View file

@ -4,14 +4,17 @@ references:
default_docker_ruby_executor: &default_docker_ruby_executor
image: circleci/ruby:2.6.5-buster-node-browsers
environment:
BUNDLE_JOBS: '3'
BUNDLE_RETRY: '3'
BUNDLE_PATH: vendor/bundle
RACK_ENV: test
RAILS_ENV: test
MYSQL_HOST: '127.0.0.1'
mariadb: &mariadb
image: circleci/mariadb:10.1.44
environment:
MYSQL_DATABASE: ensl_test
MYSQL_USER: ensl
MYSQL_USERNAME: ensl
MYSQL_PASSWORD: ensl
MYSQL_ROOT_PASSWORD: ensl
MYSQL_ROOT_HOST: "%"

View file

@ -1,3 +1,5 @@
# This file is actually loaded by Dotenv when RAILS_ENV=development
RACK_ENV=development
RAILS_ENV=development

View file

@ -1,4 +1,5 @@
# Read https://github.com/bkeepers/dotenv
# This is just a sample file
# Change this depending where you are
RACK_ENV=production

View file

@ -1,3 +1,5 @@
# This file is actually loaded by Dotenv when RAILS_ENV=test
RACK_ENV=test
RAILS_ENV=test