Skip to content

Commit

Permalink
Merge pull request #43 from NYULibraries/feature/circleci2
Browse files Browse the repository at this point in the history
Feature/circleci2
  • Loading branch information
barnabyalter committed May 24, 2017
2 parents 4adcfa9 + f018ecf commit ecf7d6b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
docker-compose up -d
docker run --network container:marli \
appropriate/curl --retry 10 --retry-delay 1 --retry-connrefused http://localhost:3000
docker-compose exec web rake db:setup
docker-compose exec web rake
# - deploy:
Expand Down
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@ services:
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
setup_tests:
build: .
command: rake db:setup
command: bundle exec rake db:setup
volumes:
- .:/app
environment:
RAILS_ENV: test
MARLI_DB_HOST: db
links:
- db
Expand Down

0 comments on commit ecf7d6b

Please sign in to comment.