summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonel Cristian Mărieș <contact@ionelmc.ro>2017-04-08 00:02:54 +0300
committerIonel Cristian Mărieș <contact@ionelmc.ro>2017-04-08 00:02:54 +0300
commit04495c67882c9fed56e1a2edd77935bfa5b07f7d (patch)
tree0bdcea8e6e088e3515ae2e13c56df55776e4441a
parentfb49cd77cd0f3317bed4da508942012cca0c151d (diff)
Enable pypy3 and use latest rls (just copy the ugly stuff from https://github.com/biopython/biopython/commit/da7abb2f07f4970d821fdc922368ecc8efa05501).
-rw-r--r--.travis.yml5
-rw-r--r--ci/templates/.travis.yml2
-rw-r--r--tox.ini1
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
diff --git a/tox.ini b/tox.ini
index bc3b1e2..b80f1a9 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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}