Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only use system Python; CI tests all python versions (#127)
* Only use system python * Only test on officially supported versions (2.7, 3.5) * Swap build status badge for py versions badge
- Loading branch information
1 parent
7559af2
commit 07fd4d7
Showing
5 changed files
with
19 additions
and
40 deletions.
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 |
---|---|---|
@@ -1,27 +1,18 @@ | ||
image: python:2.7 | ||
before_script: | ||
- pip install pep8 pyflakes flake8 coverage | ||
|
||
stages: | ||
- test | ||
|
||
Lint: | ||
Python 2.7: | ||
stage: test | ||
image: python:2.7 | ||
script: | ||
- pip install pep8 pyflakes flake8 | ||
- make lint | ||
|
||
Test Python 2.7: | ||
stage: test | ||
script: | ||
- make test | ||
- make coverage | ||
|
||
Test Python 3.5: | ||
Python 3.5: | ||
stage: test | ||
image: python:3.5 | ||
script: | ||
- make test3.5 | ||
|
||
Coverage: | ||
stage: test | ||
script: | ||
- pip install coverage | ||
- make lint | ||
- make test | ||
- make coverage |
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 |
---|---|---|
@@ -1,15 +1,12 @@ | ||
language: python | ||
matrix: | ||
include: | ||
- python: "2.7" | ||
env: TEST_SUITE= | ||
- python: "3.5" | ||
env: TEST_SUITE=3.5 | ||
python: | ||
- "2.7" | ||
- "3.5" | ||
|
||
install: | ||
- pip install pep8 pyflakes flake8 coverage | ||
|
||
script: | ||
- make test$TEST_SUITE VERBOSE=1 | ||
- make lint | ||
- make test | ||
- make coverage |
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
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
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