Skip to content

Commit

Permalink
Update buildout/tox. (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
hannosch committed May 28, 2017
1 parent c9a1b2e commit 2331e35
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 26 deletions.
16 changes: 8 additions & 8 deletions .travis.yml
@@ -1,19 +1,19 @@
language: python
sudo: false
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "pypy"
- "pypy3.3-5.2-alpha1"
- 2.7
- 3.4
- 3.5
- 3.6
- pypy
- pypy3.3-5.2-alpha1
install:
- pip install -U setuptools==33.1.1
- pip install zc.buildout
- buildout bootstrap
- buildout tox:env=travis install test
- buildout
script:
- bin/test-travis -v1
- bin/test -v1
notifications:
email: false
cache:
Expand Down
8 changes: 2 additions & 6 deletions buildout.cfg
Expand Up @@ -2,22 +2,18 @@
extends = https://raw.githubusercontent.com/zopefoundation/Zope/master/versions.cfg
develop = .
parts = interpreter test
installed = .installed-${tox:env}.cfg

[versions]
Persistence =

[tox]
env = py27

[interpreter]
recipe = zc.recipe.egg
interpreter = ${tox:env}
interpreter = py
eggs =
Persistence
tox

[test]
recipe = zc.recipe.testrunner
eggs = Persistence
script = test-${tox:env}
script = test
17 changes: 9 additions & 8 deletions setup.cfg
@@ -1,8 +1,9 @@
[nosetests]
nocapture=1
cover-package=Persistent
cover-erase=1
cover-branches=1
cover-min-percentage=100
#with-doctest=0
where=src
[flake8]
ignore = C901,N801,N802,N803,N805,N806,N812
exclude = bootstrap.py

[bdist_wheel]
universal = 0

[zest.releaser]
create-wheel = no
18 changes: 14 additions & 4 deletions tox.ini
@@ -1,14 +1,24 @@
[tox]
envlist =
py27,py27-pure,py34,py34-pure,py35,py35-pure,py36,py36-pure,pypy,pypy3
py27,
py27-pure,
py34,
py34-pure,
py35,
py35-pure,
py36,
py36-pure,
pypy,
pypy3

[testenv]
commands =
{envbindir}/buildout -c {toxinidir}/buildout.cfg tox:env={envname} bootstrap
{envbindir}/buildout -c {toxinidir}/buildout.cfg tox:env={envname} install test
{toxinidir}/bin/test-{envname}
{envbindir}/buildout -c {toxinidir}/buildout.cfg buildout:directory={envdir} buildout:develop={toxinidir} bootstrap
{envbindir}/buildout -c {toxinidir}/buildout.cfg buildout:directory={envdir} buildout:develop={toxinidir}
{envbindir}/test -v1
skip_install = true
deps =
setuptools==33.1.1
zc.buildout

[testenv:py27-pure]
Expand Down

0 comments on commit 2331e35

Please sign in to comment.