circle.yml in twilio_base-1.9.0 vs circle.yml in twilio_base-1.11.11
- old
+ new
@@ -1,18 +1,21 @@
version: 2
jobs:
build:
+ working_directory: ~/twilio_base
docker:
- image: circleci/ruby:2.5.1-node-browsers
environment:
PGHOST: 127.0.0.1
- PGUSER: twilio_base
+ PGUSER: postgres
RAILS_ENV: test
- - image: postgres:9.5
+ RACK_ENV: test
+
+ - image: circleci/postgres:9.6.2-alpine
environment:
- POSTGRES_USER: twilio_base
+ POSTGRES_USER: postgres
POSTGRES_DB: twilio_base_test
- POSTGRES_PASSWORD: ""
+
steps:
- checkout
- run: bundle install
- run: cp spec/twilio_base_dummy/config/database.example.yml spec/twilio_base_dummy/config/database.yml
- run: bundle exec rake db:setup