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

17 lines
354 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 . && py.test -svv tests',
),
Job('pypi',
stage='deploy',
image='yourlabs/python',
script='pypi-release',
only=['tags']
),
)