much simpler
This commit is contained in:
Родитель
b67480f614
Коммит
f8ef083e40
|
@ -6,6 +6,6 @@ python: 3.5
|
|||
install:
|
||||
- pip install tox
|
||||
script: tox -e $TOX_ENV
|
||||
after_success:
|
||||
after_success:
|
||||
- pip install coveralls
|
||||
- python {toxinidir}/run_coveralls.py
|
||||
- if [[ "${TOX_ENV}" == "py35" ]]; then coveralls; fi
|
|
@ -1,11 +0,0 @@
|
|||
#!/bin/env/python
|
||||
import os
|
||||
from subprocess import call
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
travis = 'TRAVIS' in os.environ
|
||||
py35 = os.environ.get('TOX_ENV') == 'py35'
|
||||
|
||||
if travis and py35:
|
||||
raise SystemExit(call('coveralls'))
|
Загрузка…
Ссылка в новой задаче