This repository has been archived by the owner on Mar 18, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added gitlab CI and removed pycodestyle version constraint
- Loading branch information
Showing
2 changed files
with
40 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters