Skip to content

Commit

Permalink
Start testing with tox and travis-ci against Python 3.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
hannosch committed May 13, 2017
1 parent 3a99ab7 commit ff700bc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Expand Up @@ -2,7 +2,8 @@ language: python
sudo: false
dist: trusty
python:
- "2.7"
- 2.7
- 3.4
install:
- pip install -U setuptools==`grep setuptools versions.cfg | awk '{print $3}'`
- pip install zc.buildout
Expand Down
11 changes: 4 additions & 7 deletions tox.ini
@@ -1,18 +1,15 @@
[tox]
envlist =
py27,py27-pure
py27,py34

[testenv]
install_command = pip install --no-cache-dir --no-binary=:all: {opts} {packages}
commands =
zope-testrunner --test-path={envsitepackagesdir} -s Zope2
deps =
zope.testrunner
./develop/AccessControl
./develop/DocumentTemplate
./develop/RestrictedPython
setenv =
PIP_NO_CACHE = 1

[testenv:py27-pure]
basepython =
python2.7
setenv =
PURE_PYTHON = 1

0 comments on commit ff700bc

Please sign in to comment.