Skip to content

Commit 19e8476

Browse files
committed
travis: use helper to run tests
1 parent 9403309 commit 19e8476

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

.travis.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,9 @@ install:
1111
- pip install -r requirements.txt
1212
- pip install -r dev-requirements.txt
1313

14-
before_script:
15-
- "export DISPLAY=:99.0"
16-
- "sh -e /etc/init.d/xvfb start"
17-
- sleep 3 # give xvfb some time to start
18-
- xauth generate :99.0 . trusted
19-
2014
# command to run tests
21-
script:
22-
nosetests --exe --with-xunit --with-coverage --cover-html --cover-html-dir=Coverage_report --verbosity=3 test/ examples/run_examples.py
15+
script:
16+
python runtests.py --with-coverage --cover-html --cover-html-dir=Coverage_report
2317

2418
after_success:
2519
- codecov

0 commit comments

Comments
 (0)