Created
July 16, 2018 15:13
-
-
Save kasvith/ffcedaf2b94e7bd2c825844da7b4d012 to your computer and use it in GitHub Desktop.
GitLab CI final
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stages: | |
- test | |
- production | |
test: | |
stage: test | |
image: python:3.7 | |
script: | |
- python -m unittest | |
production: | |
stage: production | |
script: | |
- tar -czvf release.tar.gz *.py | |
artifacts: | |
paths: | |
- release.tar.gz | |
only: | |
- master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment