Remove support for Python 3.3. Add Python 3.6 to autotests as default version.

This commit is contained in:
joo committed 2018-05-18 06:00:35 +01:00
1 parent c90afe4424
commit da46c4553d
4 files changed
+15 -17

No files matched your search

+7 -7
View File
@@ -5,21 +5,21 @@ matrix:
include: include:
- python: 2.7 - python: 2.7
env: TOX_ENV=py27 env: TOX_ENV=py27
- python: 3.3
env: TOX_ENV=py33
- python: 3.4 - python: 3.4
env: TOX_ENV=py34 env: TOX_ENV=py34
- python: pypy - python: pypy
env: TOX_ENV=pypy env: TOX_ENV=pypy
- python: 3.5 - python: 3.5
env: TOX_ENV=py35 env: TOX_ENV=py35
- python: 3.5 - python: 3.6
env: TOX_ENV=py36
- python: 3.6
env: TOX_ENV=flake8 env: TOX_ENV=flake8
- python: 3.5 - python: 3.6
env: TOX_ENV=pylint-errors env: TOX_ENV=pylint-errors
- python: 3.5 - python: 3.6
env: TOX_ENV=pylint-full env: TOX_ENV=pylint-full
- python: 3.5 - python: 3.6
env: TOX_ENV=verify-manifest env: TOX_ENV=verify-manifest
install: install:
@@ -28,6 +28,6 @@ install:
script: script:
- tox -e $TOX_ENV - tox -e $TOX_ENV
after_script: after_script:
- if [ "$TOX_ENV" = "py35" ]; then tox -e coveralls; fi - if [ "$TOX_ENV" = "py36" ]; then tox -e coveralls; fi
notifications: notifications:
email: false email: false
-1
View File
@@ -48,7 +48,6 @@ Supported Python versions
pyCraft is compatible with (at least) the following Python implementations: pyCraft is compatible with (at least) the following Python implementations:
* Python 2.7 * Python 2.7
* Python 3.3
* Python 3.4 * Python 3.4
* Python 3.5 * Python 3.5
* Python 3.6 * Python 3.6
+1 -2
View File
@@ -1,4 +1,3 @@
cryptography>=1.5 ; python_version!="3.3" cryptography>=1.5
cryptography>=1.5,<2.0 ; python_version=="3.3"
requests requests
future future
+7 -7
View File
@@ -4,7 +4,7 @@
# and then run "tox" from this directory. # and then run "tox" from this directory.
[tox] [tox]
envlist = py27, py33, py34, py35, pypy, flake8, pylint-errors, pylint-full, verify-manifest envlist = py27, py34, py35, py36, pypy, flake8, pylint-errors, pylint-full, verify-manifest
[testenv] [testenv]
commands = nosetests commands = nosetests
@@ -31,7 +31,7 @@ deps =
{[testenv]deps} {[testenv]deps}
mock mock
[testenv:py35] [testenv:py36]
setenv = setenv =
PYCRAFT_RUN_INTERNET_TESTS=1 PYCRAFT_RUN_INTERNET_TESTS=1
commands = commands =
@@ -45,7 +45,7 @@ deps =
mock mock
[testenv:flake8] [testenv:flake8]
basepython = python3.5 basepython = python3.6
commands = commands =
flake8 minecraft tests setup.py start.py bin/generate_travis_yml.py flake8 minecraft tests setup.py start.py bin/generate_travis_yml.py
deps = deps =
@@ -53,14 +53,14 @@ deps =
flake8 flake8
[testenv:pylint-errors] [testenv:pylint-errors]
basepython = python3.5 basepython = python3.6
deps = deps =
{[testenv]deps} {[testenv]deps}
pylint pylint
commands = pylint minecraft -E commands = pylint minecraft -E
[testenv:pylint-full] [testenv:pylint-full]
basepython = python3.5 basepython = python3.6
deps = deps =
{[testenv]deps} {[testenv]deps}
pylint pylint
@@ -68,7 +68,7 @@ commands =
- pylint minecraft --disable=E - pylint minecraft --disable=E
[testenv:docs] [testenv:docs]
basepython = python3.5 basepython = python3.6
deps = deps =
{[testenv:cover]deps} {[testenv:cover]deps}
sphinx sphinx
@@ -77,7 +77,7 @@ commands =
{toxinidir}/bin/build_docs {toxinidir}/bin/build_docs
[testenv:verify-manifest] [testenv:verify-manifest]
basepython = python3.5 basepython = python3.6
deps = deps =
check-manifest check-manifest
commands = commands =