File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed
Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change 11stages :
22 - tests
3- # - deployment
3+ - deployment
44
55image : python:3.5-slim-jessie
66
@@ -35,12 +35,14 @@ tests:
3535 - tests/fastStructure_field_test.sh
3636 - tests/maverick_field_test.sh
3737
38- # deployment:
39- # stage: deployment
40- # script:
41- # - python -V
42- # - pip install virtualenv
43- # - virtualenv venv
44- # - source venv/bin/activate
45- # - python setup.py sdist upload -r pypi
38+ deployment :
39+ stage : deployment
40+ script :
41+ - python -V
42+ - pip install virtualenv
43+ - virtualenv venv
44+ - source venv/bin/activate
45+ - pip install twine
46+ - python setup.py sdist
47+ - twine upload dist/* -u Stunts -p $pypi_password --repository-url https://test.pypi.org/legacy/
4648# Make sure this only happens in `master`
You can’t perform that action at this time.
0 commit comments