shlax/shlaxfile.py
2020-02-14 20:33:43 +01:00

17 lines
360 B
Python
Executable File

#!/usr/bin/env shlax
from shlax.contrib.gitlab import *
gitlabci = GitLabCIConfig(
Job('test',
stage='test',
image='yourlabs/python',
script='pip install -U .[test] && py.test -svv tests',
),
Job('pypi',
stage='deploy',
image='yourlabs/python',
script='pypi-release',
only=['tags']
),
)