Same type -- should run in parallel now

parent d5abfb87
Pipeline #761 passed with stage
in 1 minute and 10 seconds
...@@ -2,8 +2,7 @@ services: ...@@ -2,8 +2,7 @@ services:
- mysql:latest - mysql:latest
types: types:
- test-python-2.7 - test
- test-python-3.6
variables: variables:
MYSQL_DATABASE: go MYSQL_DATABASE: go
...@@ -11,7 +10,7 @@ variables: ...@@ -11,7 +10,7 @@ variables:
before_script: before_script:
- apt-get update -qy - apt-get update -qy
- apt-get install -y libldap2-dev mysql-client libmysqlclient-dev python-mysqldb libsasl2-dev - apt-get install -y libldap2-dev libsasl2-dev mysql-client libmysqlclient-dev python-mysqldb
- pip install -r requirements.txt - pip install -r requirements.txt
- cd go/ - cd go/
- cp settings/settings.py.template settings/settings.py - cp settings/settings.py.template settings/settings.py
...@@ -31,13 +30,13 @@ before_script: ...@@ -31,13 +30,13 @@ before_script:
Go-py2.7: Go-py2.7:
image: library/python:2.7 image: library/python:2.7
type: test-python-2.7 type: test
script: script:
- python manage.py test --parallel - python manage.py test --parallel
Go-py3.6: Go-py3.6:
image: library/python:3.6 image: library/python:3.6
type: test-python-3.6 type: test
script: script:
- pip install coverage - pip install coverage
- coverage run --source=go --omit=*migrations/* manage.py test --parallel - coverage run --source=go --omit=*migrations/* manage.py test --parallel
......
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