Skip to content

Commit

Permalink
[EXP] Test running the viz example on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
rht committed Jul 15, 2017
1 parent d2bfb75 commit 08f2122
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ script:
# * E123 - indentation on data structures
- flake8 . --ignore=F403,E501,E123,E128 --exclude=docs,build
- nosetests --with-coverage --cover-package=mesa
- ./tests/test_end_to_end_viz.sh
after_success:
- coveralls
8 changes: 8 additions & 0 deletions tests/test_end_to_end_viz.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

cd examples/Flockers
python run.py &
PID=$!
sleep 3
curl localhost:8521 | grep Boids
kill $PID

0 comments on commit 08f2122

Please sign in to comment.