This repository was archived by the owner on Feb 19, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +14
-4
lines changed
Expand file tree Collapse file tree 4 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ test: pep8 pyflakes
1111 python setup.py test
1212 rm tests/filepath/cobertura.xml || true
1313
14+ test-all :
15+ tox
16+
1417coverage :
1518 rm coverage.xml || true
1619 sed ' s?\$$1?' ` pwd` ' ?' tests/filepath/cobertura.xml.tpl > tests/filepath/cobertura.xml
Original file line number Diff line number Diff line change @@ -7,9 +7,10 @@ dependencies:
77 - sudo pip install pep8 --upgrade
88 - sudo pip install pyflakes
99 - sudo pip install coverage
10-
10+ - sudo pip install virtualenv==12.0.2
11+
1112test :
1213 override :
13- - make test
14+ - make test-all
1415 - make install
1516 - make coverage
Original file line number Diff line number Diff line change 1919def get_git_revision_hash ():
2020 import subprocess
2121
22- return subprocess .check_output (['git' , 'rev-parse' , 'HEAD' ]).strip ()
22+ return subprocess .check_output (['git' , 'rev-parse' , 'HEAD' ]).decode ( "utf-8" ). strip ()
2323
2424
2525def get_git_directory ():
2626 import subprocess
2727
28- return subprocess .check_output (['git' , 'rev-parse' , '--show-toplevel' ]).strip ()
28+ return subprocess .check_output (['git' , 'rev-parse' , '--show-toplevel' ]).decode ( "utf-8" ). strip ()
2929
3030
3131def file_exists (rootdir , filename ):
Original file line number Diff line number Diff line change 1+ [tox]
2+ envlist = py27, py35
3+
4+ [testenv]
5+ commands = make test
6+ whitelist_externals =make
You can’t perform that action at this time.
0 commit comments