File tree 2 files changed +9
-6
lines changed
2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 3
3
set -x
4
4
5
5
if [ " $TRAVIS_OS_NAME " = " osx" ]; then
6
- brew install snap7 python3
6
+ brew install snap7
7
+ pip install nose mock coverage
8
+ pip3 install nose mock coverage
7
9
fi
8
10
9
11
if [ " $TRAVIS_OS_NAME " = " linux" ]; then
Original file line number Diff line number Diff line change 5
5
if [ " $TRAVIS_OS_NAME " = " linux" ]; then
6
6
NOSETESTS=${VIRTUAL_ENV} /bin/nosetests
7
7
else
8
- NOSETESTS=/usr/local/bin/nosetests
8
+ NOSETESTS=" python -m nose "
9
9
fi
10
10
11
+ PYTHONPATH=.
12
+
13
+ ${NOSETESTS} --with-coverage test/test_server.py
14
+ ${NOSETESTS} --with-coverage test/test_client.py
15
+ ${NOSETESTS} --with-coverage test/test_util.py
11
16
sudo ${NOSETESTS} --with-coverage test/test_partner.py
12
- sudo chown travis .coverage
13
- nosetests --with-coverage test/test_server.py
14
- nosetests --with-coverage test/test_client.py
15
- nosetests --with-coverage test/test_util.py
You can’t perform that action at this time.
0 commit comments