mirror of
https://github.com/Hopiu/django-cachalot.git
synced 2026-03-16 21:30:23 +00:00
12 lines
265 B
Python
Executable file
12 lines
265 B
Python
Executable file
#!/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')):
|
|
print(' - python: %s' % env[2:5])
|
|
print(' env: TOXENV=' + env)
|