Run tests as part of gitlab CI

This commit is contained in:
Régis Behmo 2019-10-09 12:31:47 +02:00
parent 4aa36ed8d3
commit 0ceae16ad8
1 changed files with 9 additions and 0 deletions

View File

@ -1,9 +1,18 @@
stages: stages:
- test
- build - build
- deploy:images - deploy:images
- deploy:pypi - deploy:pypi
- deploy:docs - deploy:docs
test:
script:
- apk add --no-cache make gcc musl-dev yaml-dev
- python setup.py install
- pip install -r requirements/dev.txt
- pip install twine
- make test
build:images: build:images:
script: script:
- apk add --no-cache docker make - apk add --no-cache docker make