image: docker:latest stages: - test test35-django2: stage: test image: python:3.5 script: - pip install 'django<3' - pip install -r requirements.txt - coverage run --source='basetheme_bootstrap' manage.py test && coverage report -m test36-django2: stage: test image: python:3.6 script: - pip install 'django<3' - pip install -r requirements.txt - coverage run --source='basetheme_bootstrap' manage.py test && coverage report -m test37-django2: stage: test image: python:3.7 script: - pip install 'django<3' - pip install -r requirements.txt - coverage run --source='basetheme_bootstrap' manage.py test && coverage report -m testrc-django2: stage: test image: python:rc script: - pip install 'django<3' - pip install -r requirements.txt - coverage run --source='basetheme_bootstrap' manage.py test && coverage report -m test36-django3: stage: test image: python:3.6 script: - pip install 'django>=3' - pip install -r requirements.txt - coverage run --source='basetheme_bootstrap' manage.py test && coverage report -m test37-django30: stage: test image: python:3.7 script: - pip install 'django==3.0.*' - pip install -r requirements.txt - coverage run --source='basetheme_bootstrap' manage.py test && coverage report -m test37-django31: stage: test image: python:3.7 script: - pip install 'django>=3.1' - pip install -r requirements.txt - coverage run --source='basetheme_bootstrap' manage.py test && coverage report -m testrc-django3: stage: test image: python:rc script: - pip install 'django>=3' - pip install -r requirements.txt - coverage run --source='basetheme_bootstrap' manage.py test && coverage report -m