Commit 00ecdb2a authored by Jason Madden's avatar Jason Madden

Enable coveralls

Do this everywhere for simplicity. It slows PyPy down by 3x, but that should still only be around 4s.
parent 97ef73c6
......@@ -56,14 +56,18 @@ before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source terryfy/travis_tools.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then get_python_environment $TERRYFY_PYTHON venv; fi
install:
- pip install -U pip setuptools cffi wheel
- pip install -U pip setuptools cffi wheel coverage coveralls
- pip install -U -e .[test]
script:
- python --version
- zope-testrunner --test-path=. --auto-color --auto-progress
# coverage makes PyPy run about 3x slower, but the tests only take
# .4s to begin with (the whole process takes about 1.5), so that's
# still only 4.5s, which is maneagable.
- coverage run -m zope.testrunner --test-path=. --auto-color --auto-progress
notifications:
email: false
after_success:
- coveralls
- echo [distutils] > ~/.pypirc
- echo index-servers = pypi >> ~/.pypirc
- echo [pypi] >> ~/.pypirc
......
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