-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove tox from dependencies, make build fail on error
- Loading branch information
1 parent
6a7d42a
commit d78ad78
Showing
4 changed files
with
24 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,4 @@ coveralls = 1.0a2 | |
docopt = 0.6.2 | ||
PyYAML = 3.11 | ||
pipreq = 0.4 | ||
py = 1.4.26 | ||
tox = 1.9.2 | ||
virtualenv = 12.1.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
|
||
# This script exists because tox only reports errors if a single command is specified | ||
|
||
return_code=0 | ||
|
||
flake8 | ||
return_code=${return_code/#0/$?} | ||
|
||
coverage run -m nose | ||
return_code=${return_code/#0/$?} | ||
|
||
coveralls | ||
return_code=${return_code/#0/$?} | ||
|
||
exit $return_code |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,4 @@ mock==1.0.1 | |
nose==1.3.6 | ||
pep8==1.5.7 | ||
pipreq==0.4 | ||
py==1.4.26 | ||
pyflakes==0.8.1 | ||
tox==1.9.2 | ||
virtualenv==12.1.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters