mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 04:20:17 +02:00
37 lines
470 B
YAML
37 lines
470 B
YAML
stages:
|
|
- "test"
|
|
- deploy
|
|
|
|
before_script:
|
|
- python -V
|
|
- pip install wheel tox
|
|
|
|
test-3.5:
|
|
image: python:3.5-stretch
|
|
script:
|
|
- tox -e py35
|
|
|
|
test-3.6:
|
|
image: python:3.6-stretch
|
|
script:
|
|
- tox -e py36
|
|
|
|
test-3.7:
|
|
image: python:3.7-stretch
|
|
script:
|
|
- tox -e py37
|
|
|
|
deploy_production:
|
|
stage: deploy
|
|
image: python:3.6-stretch
|
|
|
|
before_script:
|
|
- pip install twine
|
|
|
|
script:
|
|
- python setup.py sdist
|
|
- twine upload dist/*
|
|
|
|
only:
|
|
- tags
|