1
0
Fork 0

gitlab-ci: Run unit tests with 'tox'

Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
merge-requests/323/head
Vasilis Tsiligiannis 2019-01-07 14:41:53 +02:00
parent 95e22aab4d
commit 6887da3789
1 changed files with 3 additions and 3 deletions

View File

@ -43,10 +43,10 @@ build3:
test:
stage: test
image: python:2.7
before_script:
- pip install tox
script:
- pip install --no-cache-dir --no-deps -r requirements-dev.txt
- cp env-dist .env
- pytest
- tox -e pytest
docker:
stage: deploy
image: docker:latest