Skip to content

Commit

Permalink
Added wait_for_db to Travis-CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
LondonAppDev committed Apr 14, 2021
1 parent b4634bb commit 59b4ac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ services:
before_script: pip install docker-compose

script:
- docker-compose run app sh -c "python manage.py test && flake8"
- docker-compose run app sh -c "python manage.py wait_for_db && python manage.py test && flake8"

1 comment on commit 59b4ac9

@viveksudani
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This Helped me to pass the test on Travis.
Thanks for update.

Please sign in to comment.