+ ‘.gitlab-ci.yml’
This commit is contained in:
parent
bd72cbf378
commit
e4b3115575
1 changed files with 24 additions and 0 deletions
24
.gitlab-ci.yml
Normal file
24
.gitlab-ci.yml
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
image: python:3.7-alpine
|
||||||
|
|
||||||
|
pages:
|
||||||
|
stage: deploy
|
||||||
|
script:
|
||||||
|
- apk update && apk add make
|
||||||
|
- pip install -r requirements.txt
|
||||||
|
- make publish
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- public/
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
|
||||||
|
test:
|
||||||
|
stage: test
|
||||||
|
script:
|
||||||
|
- apk update && apk add make
|
||||||
|
- pip install -r requirements.txt
|
||||||
|
- make publish
|
||||||
|
only:
|
||||||
|
- branches
|
||||||
|
except:
|
||||||
|
- master
|
||||||
Loading…
Reference in a new issue