Skip to content
Snippets Groups Projects
.gitlab-ci.yml 1.51 KiB
Newer Older
Bryan BRANCOTTE's avatar
Bryan BRANCOTTE committed
image: docker:latest

stages:
  - test

Bryan BRANCOTTE's avatar
Bryan BRANCOTTE committed
test35-django2:
Bryan BRANCOTTE's avatar
Bryan BRANCOTTE committed
  stage: test
  image: python:3.5
  script:
Bryan BRANCOTTE's avatar
Bryan BRANCOTTE committed
    - pip install 'django<3'
Bryan BRANCOTTE's avatar
Bryan BRANCOTTE committed
    - pip install -r requirements.txt
    - coverage run --source='basetheme_bootstrap' manage.py test && coverage report  -m
Bryan BRANCOTTE's avatar
Bryan BRANCOTTE committed

Bryan BRANCOTTE's avatar
Bryan BRANCOTTE committed
test36-django2:
Bryan BRANCOTTE's avatar
Bryan BRANCOTTE committed
  stage: test
  image: python:3.6
  script:
Bryan BRANCOTTE's avatar
Bryan BRANCOTTE committed
    - pip install 'django<3'
Bryan BRANCOTTE's avatar
Bryan BRANCOTTE committed
    - pip install -r requirements.txt
    - coverage run --source='basetheme_bootstrap' manage.py test && coverage report  -m
Bryan BRANCOTTE's avatar
Bryan BRANCOTTE committed

Bryan BRANCOTTE's avatar
Bryan BRANCOTTE committed
test37-django2:
Bryan BRANCOTTE's avatar
Bryan BRANCOTTE committed
  stage: test
  image: python:3.7
  script:
Bryan BRANCOTTE's avatar
Bryan BRANCOTTE committed
    - pip install 'django<3'
Bryan BRANCOTTE's avatar
Bryan BRANCOTTE committed
    - pip install -r requirements.txt
    - coverage run --source='basetheme_bootstrap' manage.py test && coverage report  -m
Bryan BRANCOTTE's avatar
Bryan BRANCOTTE committed
testrc-django2:
  stage: test
  image: python:rc
  script:
Bryan BRANCOTTE's avatar
Bryan BRANCOTTE committed
    - pip install 'django<3'
    - pip install -r requirements.txt
    - coverage run --source='basetheme_bootstrap' manage.py test && coverage report  -m
Bryan BRANCOTTE's avatar
Bryan BRANCOTTE committed

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-django3:
  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-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