Merge pull request #2573 from hugovk/update-pypy

Travis CI: Update PyPy
This commit is contained in:
wiredfool 2017-06-12 14:22:28 +01:00 committed by GitHub
commit 6b24b7999d
3 changed files with 7 additions and 7 deletions

View File

@ -10,8 +10,8 @@ notifications:
matrix: matrix:
fast_finish: true fast_finish: true
include: include:
- python: "pypy" - python: "pypy-5.7.1"
- python: "pypy3" - python: "pypy3.3-5.2-alpha1"
- python: '3.6' - python: '3.6'
- python: '2.7' - python: '2.7'
- python: "2.7_with_system_site_packages" # For PyQt4 - python: "2.7_with_system_site_packages" # For PyQt4

View File

@ -9,12 +9,10 @@ pip install cffi
pip install nose pip install nose
pip install check-manifest pip install check-manifest
pip install olefile pip install olefile
# Pyroma tests sometimes hang on PyPy; skip pip install pyroma
if [ "$TRAVIS_PYTHON_VERSION" != "pypy" ]; then pip install pyroma; fi
pip install coverage pip install coverage
# docs only on python 2.7 # docs only on Python 2.7
if [ "$TRAVIS_PYTHON_VERSION" == "2.7" ]; then pip install -r requirements.txt ; fi if [ "$TRAVIS_PYTHON_VERSION" == "2.7" ]; then pip install -r requirements.txt ; fi
# clean checkout for manifest # clean checkout for manifest

View File

@ -54,7 +54,8 @@ def _mp_compile(self, sources, output_dir=None, macros=None,
def install(): def install():
fl_pypy3 = hasattr(sys, 'pypy_version_info') and sys.version_info > (3, 0) fl_pypy3 = (hasattr(sys, 'pypy_version_info') and
(3, 0) < sys.version_info < (3, 3))
fl_win = sys.platform.startswith('win') fl_win = sys.platform.startswith('win')
fl_cygwin = sys.platform.startswith('cygwin') fl_cygwin = sys.platform.startswith('cygwin')
@ -82,4 +83,5 @@ def install():
print("Single threaded build, not installing mp_compile:" print("Single threaded build, not installing mp_compile:"
"%s processes" % MAX_PROCS) "%s processes" % MAX_PROCS)
install() install()