Skip to content

Commit 2317c2f

Browse files
author
Dan
committed
Fix py3 travis tests
1 parent 1a03ae1 commit 2317c2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ install:
1212
script:
1313
- python setup.py nosetests --with-coverage --cover-package=pssh
1414
# If using py3, run 2to3 on embedded server and tests and run nosetests for new test dir
15-
- python -c 'import sys; sys.version_info.major==3 and sys.exit(1)' || 2to3 -nw embedded_server/*.py && 2to3 tests/*.py -o tests3 -nw && cp tests/test_client_private_key tests3/ && python setup.py nosetests -w tests3 --with-coverage --cover-package=pssh
15+
- python -c 'import sys; sys.version_info.major==3 and sys.exit(1)' || eval "2to3 -nw embedded_server/*.py && 2to3 tests/*.py -o tests3 -nw && cp tests/test_client_private_key tests3/ && python setup.py nosetests -w tests3 --with-coverage --cover-package=pssh"
1616
notifications:
1717
email:
1818
on_failure: change

0 commit comments

Comments
 (0)