此GitLab CI配置有效。 进一步了解
.gitlab-ci.yml 1.19 KiB
image: python
stages:
- test
- build
- release
before_script:
- pip install pip --upgrade
- pip install -r dev-requirements.txt
after_script:
- pip install codecov
- codecov --token=7d117e6b-aab6-4283-ab19-166dafc38cf5
pypy2:
  image: pypy:2.7-7.2.0
  stage: test
  script: tox -e pypy
pypy3:
  image: pypy:3.6-7.2.0
  stage: test
  script: tox -e pypy3
python2:
  image: python:2.7
  stage: test
  script: tox -e py27
python34:
  image: python:3.4
  stage: test
  script: tox -e py34
python35:
  image: python:3.5
  stage: test
  script: tox -e py35
python36:
  image: python:3.6
  stage: test
  script: tox -e py36
python37:
  image: python:3.7
  stage: test
  script: tox -e py37
python38:
  image: python:3.8
  stage: test
  script: tox -e py38
linters:
  image: python:3.7
  stage: test
  script: tox -e linters
pre-commit:
  image: python:3.7
  stage: test
  script: tox -e pre-commit
docs:
  stage: test
  script: tox -e docs
dogfood: