Commit def73970 authored by Jim Fulton's avatar Jim Fulton

use buildout to build so we don't have 2 environments to manage

parent 5667a1b8
...@@ -8,26 +8,11 @@ python: ...@@ -8,26 +8,11 @@ python:
- 3.4 - 3.4
- 3.5 - 3.5
install: install:
# First install a newer pip so that it can use the wheel cache - pip install zc.buildout
# (only needed until travis upgrades pip to 7.x; note that the 3.5 - buildout
# environment uses pip 7.1 by default).
- travis_retry pip install -U pip
# A newer wheel is also needed under Python 3, but only after we have
# a newer pip to take advantage of the cache.
- travis_retry pip install -U wheel
# Then start installing our deps so they can be cached. Note that use of --build-options / --global-options / --install-options
# disables the cache.
- travis_retry pip install -U manuel zope.testing zope.testrunner
- travis_retry pip install -U -e .
script:
- zope-testrunner -u --test-path=src --auto-color --auto-progress
- zope-testrunner -f --test-path=src --auto-color --auto-progress
- cd doc; make html - cd doc; make html
notifications: notifications:
email: false email: false
# cache: pip seems not to work if `install` is replaced (https://github.com/travis-ci/travis-ci/issues/3239)
cache: cache:
directories: directories:
- $HOME/.cache/pip - eggs
before_cache:
- rm -f $HOME/.cache/pip/log/debug.log
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment