mirror of
https://github.com/ammaraskar/pyCraft.git
synced 2024-11-16 15:25:12 +01:00
22 lines
492 B
Python
22 lines
492 B
Python
# flake8: noqa
|
|
|
|
import os
|
|
os.chdir("..")
|
|
|
|
from tox._config import parseconfig
|
|
|
|
print("language: python")
|
|
print("python: 2.7")
|
|
print("env:")
|
|
for env in parseconfig(None, 'tox').envlist:
|
|
print(" - TOX_ENV=%s" % env)
|
|
print("install:")
|
|
print(" - pip install tox")
|
|
print(" - pip install python-coveralls")
|
|
print("script:")
|
|
print(" - tox -e $TOX_ENV")
|
|
print("after_success:")
|
|
print(' - if [ "$TOX_ENV" = "py27 ]; then tox -e coveralls; fi')
|
|
print("notifications:")
|
|
print(" email: false")
|