Add coverage and coveralls back to tox and travis.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#!/bin/env/python
|
||||
|
||||
"""Runs coveralls if in Travis CI build environment. Taken from
|
||||
http://stackoverflow.com/a/33012308/1960601
|
||||
"""
|
||||
|
||||
import os
|
||||
|
||||
from subprocess import call
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
if 'TRAVIS' in os.environ:
|
||||
rc = call('coveralls')
|
||||
raise SystemExit(rc)
|
||||
Reference in New Issue
Block a user