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:
- 3.4
- 3.5
install:
# First install a newer pip so that it can use the wheel cache
# (only needed until travis upgrades pip to 7.x; note that the 3.5
# 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
- pip install zc.buildout
- buildout
- cd doc; make html
notifications:
email: false
# cache: pip seems not to work if `install` is replaced (https://github.com/travis-ci/travis-ci/issues/3239)
cache:
directories:
- $HOME/.cache/pip
before_cache:
- rm -f $HOME/.cache/pip/log/debug.log
- eggs
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