From acb53df7285f567801c0c19762edc1739f16749a Mon Sep 17 00:00:00 2001 From: thegrymek Date: Tue, 9 Jan 2018 11:24:28 +0100 Subject: [PATCH 1/5] Added Python 3.4 - 3.6 compatibility. Updated tox and readme. --- README | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README b/README index 73e7ec8..5b658f9 100644 --- a/README +++ b/README @@ -48,7 +48,7 @@ To test compatibility across Python releases:: tox rfc6266 is currently tested under Python 2.7, Python 2.6, -Python 3.3, Python 3.2, and PyPy (1.7). +Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6 and PyPy (1.7). .. image:: https://secure.travis-ci.org/g2p/rfc6266.png :target: https://secure.travis-ci.org/g2p/rfc6266 diff --git a/tox.ini b/tox.ini index a30cc1e..99e08b4 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist=py27,py26,py32,py33,pypy +envlist=py27,py26,py32,py33,py34,py35,py36,pypy [testenv] deps= From b19dd2d1dd15f977acd4d54451eb755c85262a75 Mon Sep 17 00:00:00 2001 From: thegrymek Date: Tue, 9 Jan 2018 11:37:23 +0100 Subject: [PATCH 2/5] New travis script for onwadays standards --- .travis.yml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index b3ce200..e5745ea 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,19 @@ language: python +dist: trusty +sudo: false + +python: + - "2.6" + - "2.7" + - "3.2" + - "3.3" + - "3.4" + - "3.5" + - "3.6" install: -- PIP_USE_MIRRORS=true PIP_DOWNLOAD_CACHE=~/.cache/pip pip install tox + - travis_retry pip install --upgrade pip + - travis_retry pip install tox pytest script: -- PIP_USE_MIRRORS=true PIP_DOWNLOAD_CACHE=~/.cache/pip tox - + - tox -e $(echo py$TRAVIS_PYTHON_VERSION | tr -d .) From df7cbd8e965bcd6dc2ea644d90d41100fd2f02bc Mon Sep 17 00:00:00 2001 From: thegrymek Date: Tue, 9 Jan 2018 16:09:12 +0100 Subject: [PATCH 3/5] Drop python 3.2 compatybility. Added PyPy3 --- README | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README b/README index 5b658f9..655fb60 100644 --- a/README +++ b/README @@ -48,7 +48,7 @@ To test compatibility across Python releases:: tox rfc6266 is currently tested under Python 2.7, Python 2.6, -Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6 and PyPy (1.7). +Python 3.3, Python 3.4, Python 3.5, Python 3.6 and PyPy (1.7), PyPy(5.10.0) for Python3. .. image:: https://secure.travis-ci.org/g2p/rfc6266.png :target: https://secure.travis-ci.org/g2p/rfc6266 diff --git a/tox.ini b/tox.ini index 99e08b4..1b583fb 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist=py27,py26,py32,py33,py34,py35,py36,pypy +envlist=py27,py26,py33,py34,py35,py36,pypy,pypy3 [testenv] deps= From 420a5eca9633123cce7507fccb18805acb0eb7dd Mon Sep 17 00:00:00 2001 From: thegrymek Date: Tue, 9 Jan 2018 16:12:54 +0100 Subject: [PATCH 4/5] Addyd PyPy checks to travis --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index e5745ea..3c48f30 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,8 @@ python: - "3.4" - "3.5" - "3.6" + - "pypy" + - "pypy3" install: - travis_retry pip install --upgrade pip From 15fa127bfa081fb37250cef4a44078b05a1154bd Mon Sep 17 00:00:00 2001 From: thegrymek Date: Tue, 9 Jan 2018 16:36:35 +0100 Subject: [PATCH 5/5] Fix for travis --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3c48f30..ba9d1d2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,6 @@ sudo: false python: - "2.6" - "2.7" - - "3.2" - "3.3" - "3.4" - "3.5" @@ -18,4 +17,4 @@ install: - travis_retry pip install tox pytest script: - - tox -e $(echo py$TRAVIS_PYTHON_VERSION | tr -d .) + - tox -e $(echo py$TRAVIS_PYTHON_VERSION | tr -d . | sed -e 's/pypypy/pypy/')