.gitlab-ci.yml 1.73 KB
Newer Older
Bryan  BRANCOTTE's avatar
Bryan BRANCOTTE committed
1
2
3
4
5
image: docker:latest

stages:
  - test

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

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

Bryan  BRANCOTTE's avatar
Bryan BRANCOTTE committed
22
test37-django2:
Bryan  BRANCOTTE's avatar
Bryan BRANCOTTE committed
23
24
25
  stage: test
  image: python:3.7
  script:
Bryan  BRANCOTTE's avatar
Bryan BRANCOTTE committed
26
    - pip install 'django<3'
Bryan  BRANCOTTE's avatar
Bryan BRANCOTTE committed
27
    - pip install -r requirements.txt
28
    - coverage run --source='basetheme_bootstrap' manage.py test && coverage report  -m
29

Bryan  BRANCOTTE's avatar
Bryan BRANCOTTE committed
30
testrc-django2:
31
32
33
  stage: test
  image: python:rc
  script:
Bryan  BRANCOTTE's avatar
Bryan BRANCOTTE committed
34
    - pip install 'django<3'
35
    - pip install -r requirements.txt
36
    - coverage run --source='basetheme_bootstrap' manage.py test && coverage report  -m
Bryan  BRANCOTTE's avatar
Bryan BRANCOTTE committed
37
38
39
40
41
42
43
44
45

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

Bryan  BRANCOTTE's avatar
Bryan BRANCOTTE committed
46
test37-django30:
Bryan  BRANCOTTE's avatar
Bryan BRANCOTTE committed
47
48
49
  stage: test
  image: python:3.7
  script:
Bryan  BRANCOTTE's avatar
Bryan BRANCOTTE committed
50
51
52
53
54
55
56
57
58
    - 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'
Bryan  BRANCOTTE's avatar
Bryan BRANCOTTE committed
59
60
61
62
63
64
65
66
67
68
    - 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