-
Notifications
You must be signed in to change notification settings - Fork 268
/
.gitlab-ci.yml
41 lines (36 loc) · 952 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
image: python:3.6-slim
variables:
POETRY_VERSION: 1.1.4
POETRY_VIRTUALENVS_CREATE: "false"
PIP_DISABLE_PIP_VERSION_CHECK: "on"
test_py36:
cache:
paths:
- ~/.cache/pip/
script:
- pip install tox "poetry==$POETRY_VERSION"
- tox
test_py37:
image: python:3.7
script:
- pip install --upgrade pip; pip install zipp
- pip install tox "poetry==$POETRY_VERSION"
- tox -c tox.py37.ini
test_py38:
image: python:3.8-slim
script:
- pip install tox "poetry==$POETRY_VERSION"
- tox -c tox.py38.ini
test_coverage:
script:
- pip install coverage "poetry==$POETRY_VERSION"
- poetry install
- coverage run --source='.' manage.py test --noinput -v 3
- coverage report --skip-covered | grep TOTAL
test_js:
image: registry.gitlab.com/dasch8/angular-ci:latest
script:
- cd js
- yarn --frozen-lockfile
- yarn lint
- yarn test --progress false --watch=false --browsers=ChromiumCI