forked from RyanNoelk/OpenEats
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* adding travis file * commit to get travis to build * updating endpoint * start db * run * sleep * updating readme with build flags * updating readme with build flags * need to use -d to run in the background * adding another comment * adding wait-for-it * permission change and removing http * adding back sleep 90
- Loading branch information
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
sudo: required | ||
|
||
language: python | ||
|
||
python: | ||
- "2.7" | ||
|
||
services: | ||
- docker | ||
|
||
before_install: | ||
- docker-compose -f docker-compose-test.yml -p test build | ||
- docker-compose -f docker-compose-test.yml -p test up -d db | ||
# We are adding a sleep here so that the db has enough time to come online | ||
- sleep 90 | ||
|
||
script: | ||
- docker-compose -f docker-compose-test.yml -p test run --rm --entrypoint 'bash tests.sh' api |
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