diff options
-rwxr-xr-x | .gitignore | 1 | ||||
-rw-r--r-- | .travis.yml | 8 |
2 files changed, 7 insertions, 2 deletions
@@ -6,6 +6,7 @@ config/api.js config/database.js public/events/* !public/events/.gitkeep +wait-for-it.sh # Logs logs diff --git a/.travis.yml b/.travis.yml index 6feafff..4bdce21 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,13 @@ -language: minimal +language: shell +os: linux services: - docker script: - - docker-compose up --build + - docker-compose up --build & + - curl https://raw.githubusercontent.com/vishnubob/wait-for-it/9995b721327eac7a88f0dce314ea074d5169634f/wait-for-it.sh -o wait-for-it.sh + - chmod +x wait-for-it.sh + - ./wait-for-it-sh localhost:3000 --timeout=0 - curl -v http://localhost:3000/ - curl -v http://localhost:3000/new/event/public
\ No newline at end of file |