File: .gitlab-ci.yml

package info (click to toggle)
python-kubernetes 35.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 47,168 kB
  • sloc: python: 145,021; sh: 763; makefile: 46
file content (33 lines) | stat: -rw-r--r-- 642 bytes parent folder | download | duplicates (4)
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
# ref: https://docs.gitlab.com/ee/ci/README.html

stages:
  - test

.nosetest:
  stage: test
  script:
   - pip install -r requirements.txt
   - pip install -r test-requirements.txt
   - pytest --cov=client

nosetest-2.7:
  extends: .nosetest
  image: python:2.7-alpine
nosetest-3.3:
  extends: .nosetest
  image: python:3.3-alpine
nosetest-3.4:
  extends: .nosetest
  image: python:3.4-alpine
nosetest-3.5:
  extends: .nosetest
  image: python:3.5-alpine
nosetest-3.6:
  extends: .nosetest
  image: python:3.6-alpine
nosetest-3.7:
  extends: .nosetest
  image: python:3.7-alpine
nosetest-3.8:
  extends: .nosetest
  image: python:3.8-alpine