File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ [run]
2+ source = core/
3+ dot/
4+
Original file line number Diff line number Diff line change @@ -4,11 +4,11 @@ python:
44 - 3.5
55 - 3.6
66install :
7+ - travis_retry pip install coverage coveralls
78 - travis_retry pip install -e ./core
89 - travis_retry pip install -e ./dot
910script :
10- - cd tests
11- - python testrunner.py
11+ - coverage run tests/testrunner.py
1212notifications :
1313 email : false
1414after_success :
Original file line number Diff line number Diff line change @@ -67,10 +67,10 @@ test-pre:
6767 reset
6868
6969test : test-pre
70- export PYTHONPATH=${PYTHONPATH} && cd ${TESTS_DIR} && python testrunner.py
70+ PYTHONPATH=${PYTHONPATH} python tests/ testrunner.py
7171
7272test3 : test-pre
73- export PYTHONPATH=${PYTHONPATH} && cd ${TESTS_DIR} && python3 testrunner.py
73+ PYTHONPATH=${PYTHONPATH} python3 tests/ testrunner.py
7474
7575tests : test
7676
Original file line number Diff line number Diff line change 2323# OTHER DEALINGS IN THE SOFTWARE.
2424
2525import sys
26- sys .path .append ('.. ' )
26+ sys .path .append ('./tests ' )
2727import pygraph
2828import unittest
2929import testlib
3434
3535def test_modules ():
3636 modlist = []
37- for each in listdir ('. ' ):
37+ for each in listdir ('tests ' ):
3838 if (each [0 :9 ] == "unittests" and each [- 3 :] == ".py" ):
3939 modlist .append (each [0 :- 3 ])
4040 return modlist
You can’t perform that action at this time.
0 commit comments