Skip to content
This repository has been archived by the owner on Mar 18, 2020. It is now read-only.

Commit

Permalink
Added gitlab CI and removed pycodestyle version constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
viniarck committed Nov 3, 2018
1 parent 8a839ee commit 2e907c9
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 1 deletion.
39 changes: 39 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
image: python

stages:
- lint
- test

before_script:
- curl -O https://bootstrap.pypa.io/get-pip.py
- python get-pip.py
- pip install -r requirements.txt

after_script:
- pip install codecov
- codecov --token=7d117e6b-aab6-4283-ab19-166dafc38cf5

python35:
image: python:3.5
stage: lint
script: TOXENV=lint tox -e py35

python34:
image: python:3.4
stage: test
script: TOXENV=unit tox -e py34

python35:
image: python:3.5
stage: test
script: TOXENV=unit tox -e py35

python36:
image: python:3.6
stage: test
script: TOXENV=unit tox -e py36

python37:
image: python:3.7-rc
stage: test
script: TOXENV=unit tox -e py37
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pytest
pytest-cov
pytest-xdist
flake8
pycodestyle<2.4.0 # flake8
pycodestyle
pydocstyle
sphinx
sphinx-autobuild
Expand Down

0 comments on commit 2e907c9

Please sign in to comment.