Fix tox not installed

parent 8c1afb51
Pipeline #1601 passed with stages
in 12 minutes and 23 seconds
...@@ -28,16 +28,22 @@ prepare: ...@@ -28,16 +28,22 @@ prepare:
setup: setup:
image: python:3.5 image: python:3.5
stage: lint stage: lint
before_script:
- pip install tox
script: tox -e setup script: tox -e setup
safety: safety:
image: python:3.5 image: python:3.5
stage: lint stage: lint
before_script:
- pip install tox
script: tox -e safety script: tox -e safety
style: style:
image: python:3.5 image: python:3.5
stage: lint stage: lint
before_script:
- pip install tox
script: tox -e style script: tox -e style
allow_failure: true allow_failure: true
...@@ -46,6 +52,7 @@ docs: ...@@ -46,6 +52,7 @@ docs:
stage: lint stage: lint
before_script: before_script:
- apt-get update && apt-get install -y python-enchant - apt-get update && apt-get install -y python-enchant
- pip install tox
script: tox -e docs script: tox -e docs
allow_failure: true allow_failure: true
...@@ -53,6 +60,8 @@ docs: ...@@ -53,6 +60,8 @@ docs:
py34-django111: py34-django111:
image: python:3.4 image: python:3.4
stage: test stage: test
before_script:
- pip install tox
script: tox -e py34-django111 script: tox -e py34-django111
artifacts: artifacts:
paths: paths:
...@@ -61,37 +70,72 @@ py34-django111: ...@@ -61,37 +70,72 @@ py34-django111:
py35-django111: py35-django111:
image: python:3.5 image: python:3.5
stage: test stage: test
before_script:
- pip install tox
script: tox -e py35-django111 script: tox -e py35-django111
artifacts:
paths:
- .coverage.*
py36-django111: py36-django111:
image: python:3.6 image: python:3.6
stage: test stage: test
before_script:
- pip install tox
script: tox -e py36-django111 script: tox -e py36-django111
artifacts:
paths:
- .coverage.*
py37-django111: py37-django111:
image: python:3.7-rc-stretch image: python:3.7-rc-stretch
stage: test stage: test
before_script:
- pip install tox
script: tox -e py37-dev-django111 script: tox -e py37-dev-django111
artifacts:
paths:
- .coverage.*
py34-django20: py34-django20:
image: python:3.4 image: python:3.4
stage: test stage: test
before_script:
- pip install tox
script: tox -e py34-django20 script: tox -e py34-django20
artifacts:
paths:
- .coverage.*
py35-django20: py35-django20:
image: python:3.5 image: python:3.5
stage: test stage: test
before_script:
- pip install tox
script: tox -e py35-django20 script: tox -e py35-django20
artifacts:
paths:
- .coverage.*
py36-django20: py36-django20:
image: python:3.6 image: python:3.6
stage: test stage: test
before_script:
- pip install tox
script: tox -e py36-django20 script: tox -e py36-django20
artifacts:
paths:
- .coverage.*
py37-django20: py37-django20:
image: python:3.7-rc-stretch image: python:3.7-rc-stretch
stage: test stage: test
before_script:
- pip install tox
script: tox -e py37-dev-django20 script: tox -e py37-dev-django20
artifacts:
paths:
- .coverage.*
# BUILD stage # BUILD stage
build: build:
...@@ -135,8 +179,9 @@ pages: ...@@ -135,8 +179,9 @@ pages:
- py36-django20 - py36-django20
- py37-django20 - py37-django20
before_script: before_script:
- tox -e report - pip install tox
script: script:
- tox -e report
- mv htmlcov/ public/ - mv htmlcov/ public/
artifacts: artifacts:
paths: 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