-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
224 additions
and
57 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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[run] | ||
source = zc.zope3recipes | ||
parallel = true | ||
data_file = $COVERAGE_HOME/.coverage | ||
|
||
[paths] | ||
source = | ||
zc/ | ||
.tox/*/lib/python*/site-packages/zc/ | ||
.tox/pypy*/site-packages/zc/ |
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,10 @@ | ||
*.py[co] | ||
.tox/ | ||
*.egg-info | ||
.coverage | ||
.installed.cfg | ||
bin/ | ||
eggs/ | ||
develop-eggs/ | ||
parts/ | ||
.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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
language: python | ||
dist: xenial | ||
python: | ||
- 2.7 | ||
install: | ||
- pip install zope.testrunner coverage coveralls | ||
- pip install -e '.[tests]' | ||
script: | ||
- export COVERAGE_HOME=$(pwd) | ||
- export COVERAGE_PROCESS_START=$COVERAGE_HOME/.coveragerc | ||
- coverage run -m zope.testrunner --test-path=. -vc | ||
after_script: | ||
- coverage combine | ||
- coverage report -m | ||
- coveralls | ||
notifications: | ||
email: false | ||
cache: pip |
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,3 @@ | ||
include *.py | ||
include buildout.cfg | ||
recursive-include zc *.txt |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
version: build-{build}-{branch} | ||
|
||
environment: | ||
matrix: | ||
# https://www.appveyor.com/docs/installed-software#python lists available | ||
# versions | ||
- PYTHON: "C:\\Python27" | ||
|
||
init: | ||
- "echo %PYTHON%" | ||
|
||
install: | ||
- "set PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" | ||
- python --version | ||
# Upgrade virtualenv because the one in the Appveyor image is old and has an | ||
# old bundled pip version that thinks 'zc.recipe.egg' is an egg. | ||
- pip install -U virtualenv | ||
- pip install tox | ||
|
||
build: off | ||
|
||
test_script: | ||
- tox -e py |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
[tox] | ||
envlist = py27 | ||
|
||
[testenv] | ||
usedevelop = true | ||
deps = | ||
zope.testrunner | ||
extras = | ||
tests | ||
commands = | ||
zope-testrunner --test-path=. {posargs:-vc} | ||
|
||
[testenv:coverage] | ||
basepython = python2.7 | ||
deps = | ||
{[testenv]deps} | ||
coverage | ||
commands = | ||
coverage run -m zope.testrunner --test-path=. {posargs:-vc} | ||
coverage combine | ||
coverage report -m | ||
setenv = | ||
COVERAGE_HOME={toxinidir} | ||
COVERAGE_PROCESS_START={toxinidir}/.coveragerc | ||
|
||
[testenv:py] | ||
platform = win32 | ||
deps = | ||
{[testenv]deps} | ||
pypiwin32 |
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
Oops, something went wrong.