added stages

This commit is contained in:
2020-07-25 19:13:45 +02:00
parent 6c37fc79df
commit 50974acee6
3 changed files with 24 additions and 6 deletions

View File

@@ -1,11 +1,23 @@
before_script:
- pip --version
stages:
- test
- package
job0:
before_script:
- pip -r requirements.txt
test_scraper:
stage: test
tags:
- python
script:
- pwd
- ls -la
- cd src
- python3.7 -m scraper
- python3.7 -m scraper
build_package:
stage: package
tags:
- python
script:
- cd src
- python3.7 setup.py