diff options
author | Ionel Cristian Mărieș <contact@ionelmc.ro> | 2017-04-08 00:02:54 +0300 |
---|---|---|
committer | Ionel Cristian Mărieș <contact@ionelmc.ro> | 2017-04-08 00:02:54 +0300 |
commit | 04495c67882c9fed56e1a2edd77935bfa5b07f7d (patch) | |
tree | 0bdcea8e6e088e3515ae2e13c56df55776e4441a | |
parent | fb49cd77cd0f3317bed4da508942012cca0c151d (diff) |
Enable pypy3 and use latest rls (just copy the ugly stuff from https://github.com/biopython/biopython/commit/da7abb2f07f4970d821fdc922368ecc8efa05501).
-rw-r--r-- | .travis.yml | 5 | ||||
-rw-r--r-- | ci/templates/.travis.yml | 2 | ||||
-rw-r--r-- | tox.ini | 1 |
3 files changed, 8 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index fd82b90..c3c073e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,10 +28,15 @@ matrix: - python: pypy env: - TOXENV=pypy,report,coveralls,codecov + - python: pypy3 + env: + - TOXENV=pypy3,report,coveralls,codecov before_install: - python --version - uname -a - lsb_release -a + - "if [[ $TRAVIS_PYTHON_VERSION == 'pypy' ]]; then deactivate && wget https://bitbucket.org/squeaky/portable-pypy/downloads/pypy-5.7-linux_x86_64-portable.tar.bz2 && tar -jxvf pypy-5.7-linux_x86_64-portable.tar.bz2 && echo 'Setting up aliases...' && export PATH=$HOME/pypy-5.7-linux_x86_64-portable/bin/:$PATH && ln -s ~/pypy-5.7-linux_x86_64-portable/bin/pypy ~/bin/python && echo 'Setting up pip...' && pypy-5.7-linux_x86_64-portable/bin/pypy -m ensurepip ; fi" + - "if [[ $TRAVIS_PYTHON_VERSION == 'pypy3' ]]; then deactivate && wget https://bitbucket.org/squeaky/portable-pypy/downloads/pypy3.5-5.7-beta-linux_x86_64-portable.tar.bz2 && tar -jxvf pypy3.5-5.7-beta-linux_x86_64-portable.tar.bz2 && echo 'Setting up aliases...' && export PATH=$HOME/pypy3.5-5.7-beta-linux_x86_64-portable/bin/:$PATH && ln -s ~/pypy3.5-5.7-beta-linux_x86_64-portable/bin/pypy3.3 ~/bin/python && echo 'Setting up pip...' && pypy3.5-5.7-beta-linux_x86_64-portable/bin/pypy -m ensurepip && ln -s ~/pypy3.5-5.7-beta-linux_x86_64-portable/bin/pip3.5 ~/bin/pip ; fi" install: - pip install tox - virtualenv --version diff --git a/ci/templates/.travis.yml b/ci/templates/.travis.yml index 6c04ae0..4056383 100644 --- a/ci/templates/.travis.yml +++ b/ci/templates/.travis.yml @@ -19,6 +19,8 @@ before_install: - python --version - uname -a - lsb_release -a + - "if [[ $TRAVIS_PYTHON_VERSION == 'pypy' ]]; then deactivate && wget https://bitbucket.org/squeaky/portable-pypy/downloads/pypy-5.7-linux_x86_64-portable.tar.bz2 && tar -jxvf pypy-5.7-linux_x86_64-portable.tar.bz2 && echo 'Setting up aliases...' && export PATH=$HOME/pypy-5.7-linux_x86_64-portable/bin/:$PATH && ln -s ~/pypy-5.7-linux_x86_64-portable/bin/pypy ~/bin/python && echo 'Setting up pip...' && pypy-5.7-linux_x86_64-portable/bin/pypy -m ensurepip ; fi" + - "if [[ $TRAVIS_PYTHON_VERSION == 'pypy3' ]]; then deactivate && wget https://bitbucket.org/squeaky/portable-pypy/downloads/pypy3.5-5.7-beta-linux_x86_64-portable.tar.bz2 && tar -jxvf pypy3.5-5.7-beta-linux_x86_64-portable.tar.bz2 && echo 'Setting up aliases...' && export PATH=$HOME/pypy3.5-5.7-beta-linux_x86_64-portable/bin/:$PATH && ln -s ~/pypy3.5-5.7-beta-linux_x86_64-portable/bin/pypy3.3 ~/bin/python && echo 'Setting up pip...' && pypy3.5-5.7-beta-linux_x86_64-portable/bin/pypy -m ensurepip && ln -s ~/pypy3.5-5.7-beta-linux_x86_64-portable/bin/pip3.5 ~/bin/pip ; fi" install: - pip install tox - virtualenv --version @@ -11,6 +11,7 @@ envlist = [testenv] basepython = pypy: {env:TOXPYTHON:pypy} + pypy3: {env:TOXPYTHON:pypy3} {py27,docs,spell}: {env:TOXPYTHON:python2.7} py33: {env:TOXPYTHON:python3.3} py34: {env:TOXPYTHON:python3.4} |