Fix tox not installed

parent 8c1afb51
Pipeline #1601 passed with stages
in 12 minutes and 23 seconds
......@@ -28,16 +28,22 @@ prepare:
setup:
image: python:3.5
stage: lint
before_script:
- pip install tox
script: tox -e setup
safety:
image: python:3.5
stage: lint
before_script:
- pip install tox
script: tox -e safety
style:
image: python:3.5
stage: lint
before_script:
- pip install tox
script: tox -e style
allow_failure: true
......@@ -46,6 +52,7 @@ docs:
stage: lint
before_script:
- apt-get update && apt-get install -y python-enchant
- pip install tox
script: tox -e docs
allow_failure: true
......@@ -53,6 +60,8 @@ docs:
py34-django111:
image: python:3.4
stage: test
before_script:
- pip install tox
script: tox -e py34-django111
artifacts:
paths:
......@@ -61,37 +70,72 @@ py34-django111:
py35-django111:
image: python:3.5
stage: test
before_script:
- pip install tox
script: tox -e py35-django111
artifacts:
paths:
- .coverage.*
py36-django111:
image: python:3.6
stage: test
before_script:
- pip install tox
script: tox -e py36-django111
artifacts:
paths:
- .coverage.*
py37-django111:
image: python:3.7-rc-stretch
stage: test
before_script:
- pip install tox
script: tox -e py37-dev-django111
artifacts:
paths:
- .coverage.*
py34-django20:
image: python:3.4
stage: test
before_script:
- pip install tox
script: tox -e py34-django20
artifacts:
paths:
- .coverage.*
py35-django20:
image: python:3.5
stage: test
before_script:
- pip install tox
script: tox -e py35-django20
artifacts:
paths:
- .coverage.*
py36-django20:
image: python:3.6
stage: test
before_script:
- pip install tox
script: tox -e py36-django20
artifacts:
paths:
- .coverage.*
py37-django20:
image: python:3.7-rc-stretch
stage: test
before_script:
- pip install tox
script: tox -e py37-dev-django20
artifacts:
paths:
- .coverage.*
# BUILD stage
build:
......@@ -135,8 +179,9 @@ pages:
- py36-django20
- py37-django20
before_script:
- tox -e report
- pip install tox
script:
- tox -e report
- mv htmlcov/ public/
artifacts:
paths:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment