2017-06-03 01:36:27 +02:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
from subprocess import check_output
|
|
|
|
|
|
|
|
|
|
|
|
envs = check_output(['tox', '-l'])
|
|
|
|
|
|
|
|
print('matrix:')
|
|
|
|
print(' include:')
|
|
|
|
for env in filter(bool, envs.decode().split('\n')):
|
2017-06-03 01:53:56 +02:00
|
|
|
print(' - python: %s' % env[2:5])
|
|
|
|
print(' env: TOXENV=' + env)
|