variables:
  POSTGRES_DB: postgres
  POSTGRES_USER: postgres
  POSTGRES_PASSWORD: ""

stages:
  - test

services:
  - postgres:latest

cache:
  key: "$CI_PROJECT_NAME"
  paths:
    - $HOME/.cache/pip

before_script:
  - pip install tox

test_python35:
  stage: test
  image: python:3.5
  script: tox -e 'py35-django111-oscar{15,16},py35-django{200,210}-oscar16'

test_python36:
  stage: test
  image: python:3.6
  script: tox -e 'py36-django111-oscar{15,16},py36-django{200,210}-oscar16'

test_python37:
  stage: test
  image: python:3.7
  script: tox -e 'py37-django{200,210}-oscar16'

test_pypy3:
  stage: test
  image: pypy:3-5
  script: tox -e 'pypy3-django111-oscar{15,16},pypy3-django{200,210}-oscar16'

variables:
  POSTGRES_DB: postgres
  POSTGRES_USER: postgres
  POSTGRES_PASSWORD: ""

stages:
  - test

services:
  - postgres:latest

cache:
  key: "$CI_PROJECT_NAME"
  paths:
    - $HOME/.cache/pip

before_script:
  - pip install tox

test_python35:
  stage: test
  tags:
    - django-oscar
  image: python:3.5
  script: tox -e 'py35-django111-oscar{15,16},py35-django{200,210}-oscar16'

test_python36:
  stage: test
  tags:
    - django-oscar
  image: python:3.6
  script: tox -e 'py36-django111-oscar{15,16},py36-django{200,210}-oscar16'

test_python37:
  stage: test
  tags:
    - django-oscar
  image: python:3.7
  script: tox -e 'py37-django{200,210}-oscar16'

test_pypy3:
  stage: test
  tags:
    - django-oscar
  image: pypy:3-5
  script: tox -e 'pypy3-django111-oscar{15,16},pypy3-django{200,210}-oscar16'

Add tags to CI jobs
Add tags to CI jobs
