From 2c1d59a0c747885173072f312f8f4b393a305e7c Mon Sep 17 00:00:00 2001 From: Ian Cordasco Date: Fri, 27 Jun 2014 16:36:32 -0500 Subject: [PATCH] PyPy on Travis segfaults with coverage --- .travis.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index aa330d1..11c4e49 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,8 +12,15 @@ before_script: - pip install -r dev-requirements.txt script: - - py.test --cov rfc3986 tests/ - - coverage report --fail-under 100 -m + # Stolen from + # https://github.com/Lukasa/hyper/blob/583f5579b681f03eb44a2867f92c07acca418c27/.travis.yml + - > + if [[ "$TRAVIS_PYTHON_VERSION" == "pypy" ]] ; then + py.test tests/ + else + py.test --cov rfc3986 tests/ + coverage report --fail-under 100 -m + fi notifications: on_success: change