Last active
April 22, 2019 01:59
-
-
Save priyankamk/0ead258d86e6faac4b057defd189ddf3 to your computer and use it in GitHub Desktop.
.circle/config.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 2 | |
jobs: | |
build: | |
docker: | |
# specify the version you desire here | |
- image: circleci/ruby:2.5.0-node-browsers | |
environment: | |
RAILS_ENV: test | |
PGHOST: 127.0.0.1 | |
PGUSER: app-user | |
- image: circleci/postgres:9.4 | |
environment: | |
POSTGRES_USER: app-user | |
POSTGRES_DB: grety_test | |
working_directory: ~/repo | |
steps: | |
- checkout | |
- run: bundle install --jobs=4 --retry=3 --path vendor/bundle | |
- run: bundle exec rake db:create | |
- run: bundle exec rake db:schema:load | |
- run: bundle exec rake spec |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment