mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-11 23:34:17 +00:00
Enable GitLab CI
This commit is contained in:
parent
00575214db
commit
b5d13260eb
2 changed files with 23 additions and 1 deletions
22
.gitlab-ci.yml
Normal file
22
.gitlab-ci.yml
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
before_script:
|
||||||
|
- apt-get update -qq
|
||||||
|
- apt-get install -y python python3
|
||||||
|
- curl -O https://bootstrap.pypa.io/get-pip.py
|
||||||
|
- python get-pip.py
|
||||||
|
- pip install -r dev-requirements.txt
|
||||||
|
|
||||||
|
python2:
|
||||||
|
script:
|
||||||
|
- tox -e py27
|
||||||
|
|
||||||
|
python3:
|
||||||
|
script:
|
||||||
|
- tox --skip-missing-interpreters -e py34,py35
|
||||||
|
|
||||||
|
linters:
|
||||||
|
script:
|
||||||
|
- tox -e linters
|
||||||
|
|
||||||
|
docs:
|
||||||
|
script:
|
||||||
|
- tox -e docs
|
||||||
2
tox.ini
2
tox.ini
|
|
@ -1,6 +1,6 @@
|
||||||
[tox]
|
[tox]
|
||||||
minversion=2.3.1
|
minversion=2.3.1
|
||||||
envlist = py27,py33,py34,py35,flake8
|
envlist = py27,py33,py34,py35,flake8,linters,docs
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
deps =
|
deps =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue