Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
restran committed May 29, 2017
1 parent 6066323 commit 4054797
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,19 @@ before_script:
sleep 1
coverage run -p --source=fomalhaut -m fomalhaut.runserver &
server_pid_1=$!
echo server_pid_1
sleep 1
coverage run -p --source=fomalhaut -m fomalhaut.tests.api_server &
server_pid_2=$!
echo server_pid_2
sleep 1
script:
# - python -m unittest discover -s fomalhaut -p "*_test.py"
- coverage run -p --source=fomalhaut -m unittest discover -s fomalhaut -p "test_*.py"
- kill -2 $server_pid_1
- kill -2 $server_pid_2
- coverage run -p --source=fomalhaut -m fomalhaut.tests.stop_server
- coverage combine
- coverage report

Expand Down

0 comments on commit 4054797

Please sign in to comment.