Skip to content

Commit

Permalink
travisify
Browse files Browse the repository at this point in the history
  • Loading branch information
janwijbrand committed Jan 10, 2018
1 parent e857b89 commit e68c930
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 12 deletions.
8 changes: 5 additions & 3 deletions .gitignore
@@ -1,6 +1,8 @@
*.pyc
*.egg-info
.coverage
.installed.cfg
.tox
*.egg-info
*.pyc
bin
parts
develop-eggs
parts
15 changes: 12 additions & 3 deletions .travis.yml
@@ -1,10 +1,19 @@
language: python
python:
- 2.7
- 3.4
- 3.5
- 3.6
- pypy
- pypy3
install:
- python bootstrap.py
- bin/buildout
- pip install -U pip setuptools
- pip install -U zope.testrunner coverage coveralls
- pip install -U -e .[test]
script:
- bin/test -v1
- coverage run -m zope.testrunner --test-path=src
after_success:
- coveralls
notifications:
email: false
cache: pip
3 changes: 2 additions & 1 deletion buildout.cfg
@@ -1,6 +1,7 @@
[buildout]
extends =
https://raw.githubusercontent.com/zopefoundation/groktoolkit/resurrection-python3/grok.cfg
develop = .
extends = https://raw.githubusercontent.com/zopefoundation/groktoolkit/resurrection-python3/grok.cfg
parts =
interpreter
test
Expand Down
20 changes: 15 additions & 5 deletions setup.py
Expand Up @@ -3,6 +3,7 @@

version = '1.0.5.dev0'


install_requires = [
'Chameleon >= 2.10',
'grokcore.component',
Expand All @@ -12,34 +13,43 @@
'zope.i18n',
]


tests_require = [
'grokcore.viewlet',
'zope.app.appsetup',
'zope.app.wsgi',
'zope.testbrowser',
]


long_description = (
open('README.txt').read() +
'\n\n' +
open(os.path.join('src', 'grokcore', 'chameleon', 'README.txt')).read() +
'\n\n' +
open('CHANGES.txt').read())


setup(
name='grokcore.chameleon',
version=version,
description="Chameleon page template support for Grok",
long_description=long_description,
# Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: Zope Public License',
'Programming Language :: Python :: 2.5',
'Operating System :: OS Independent',
'Topic :: Internet :: WWW/HTTP',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Framework :: Zope3',
],
keywords="grok chameleon template",
author="Uli Fouquet",
Expand Down
16 changes: 16 additions & 0 deletions tox.ini
@@ -0,0 +1,16 @@
[tox]
envlist =
py27,
py34,
py35,
py36,
pypy,
pypy3

[testenv]
commands =
coverage run -m zope.testrunner --test-path=src {posargs:-vc}
deps =
.[test]
zope.testrunner
coverage

0 comments on commit e68c930

Please sign in to comment.