Skip to content

Commit

Permalink
Update development files to latest template.
Browse files Browse the repository at this point in the history
  • Loading branch information
hannosch committed Jun 11, 2017
1 parent 99dfed3 commit a58fc52
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 17 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Expand Up @@ -7,8 +7,9 @@ python:
- 3.6
install:
- pip install -U setuptools==33.1.1
- python bootstrap.py
- bin/buildout
- pip install zc.buildout
- buildout bootstrap
- buildout
script:
- bin/test -v1
notifications:
Expand Down
17 changes: 7 additions & 10 deletions buildout.cfg
@@ -1,25 +1,22 @@
[buildout]
extends =
https://zopefoundation.github.io/Zope/releases/4.0a5/versions-prod.cfg
https://raw.githubusercontent.com/zopefoundation/Zope/master/versions.cfg
develop = .
parts =
interpreter
test
tox


[versions]
Products.ZCatalog =

[interpreter]
recipe = zc.recipe.egg
interpreter = python
eggs = Products.ZCatalog
interpreter = py
eggs =
Products.ZCatalog
tox

[test]
recipe = zc.recipe.testrunner
eggs = Products.ZCatalog

[tox]
recipe = zc.recipe.egg
eggs = tox
eggs =
Products.ZCatalog
6 changes: 6 additions & 0 deletions setup.cfg
Expand Up @@ -6,3 +6,9 @@ ignore =
[flake8]
ignore = C901,N801,N802,N803,N805,N806,N812,E301
exclude = bootstrap.py

[bdist_wheel]
universal = 1

[zest.releaser]
create-wheel = yes
11 changes: 6 additions & 5 deletions tox.ini
Expand Up @@ -3,13 +3,14 @@ envlist =
py27,
py34,
py35,
py36,
py36

[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
commands =
{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

0 comments on commit a58fc52

Please sign in to comment.