mirror of
https://github.com/ammaraskar/pyCraft.git
synced 2025-02-22 14:52:18 +01:00
Remove support for Python 3.3. Add Python 3.6 to autotests as default version.
This commit is contained in:
parent
c90afe4424
commit
da46c4553d
14
.travis.yml
14
.travis.yml
@ -5,21 +5,21 @@ matrix:
|
||||
include:
|
||||
- python: 2.7
|
||||
env: TOX_ENV=py27
|
||||
- python: 3.3
|
||||
env: TOX_ENV=py33
|
||||
- python: 3.4
|
||||
env: TOX_ENV=py34
|
||||
- python: pypy
|
||||
env: TOX_ENV=pypy
|
||||
- python: 3.5
|
||||
env: TOX_ENV=py35
|
||||
- python: 3.5
|
||||
- python: 3.6
|
||||
env: TOX_ENV=py36
|
||||
- python: 3.6
|
||||
env: TOX_ENV=flake8
|
||||
- python: 3.5
|
||||
- python: 3.6
|
||||
env: TOX_ENV=pylint-errors
|
||||
- python: 3.5
|
||||
- python: 3.6
|
||||
env: TOX_ENV=pylint-full
|
||||
- python: 3.5
|
||||
- python: 3.6
|
||||
env: TOX_ENV=verify-manifest
|
||||
|
||||
install:
|
||||
@ -28,6 +28,6 @@ install:
|
||||
script:
|
||||
- tox -e $TOX_ENV
|
||||
after_script:
|
||||
- if [ "$TOX_ENV" = "py35" ]; then tox -e coveralls; fi
|
||||
- if [ "$TOX_ENV" = "py36" ]; then tox -e coveralls; fi
|
||||
notifications:
|
||||
email: false
|
||||
|
@ -48,7 +48,6 @@ Supported Python versions
|
||||
pyCraft is compatible with (at least) the following Python implementations:
|
||||
|
||||
* Python 2.7
|
||||
* Python 3.3
|
||||
* Python 3.4
|
||||
* Python 3.5
|
||||
* Python 3.6
|
||||
|
@ -1,4 +1,3 @@
|
||||
cryptography>=1.5 ; python_version!="3.3"
|
||||
cryptography>=1.5,<2.0 ; python_version=="3.3"
|
||||
cryptography>=1.5
|
||||
requests
|
||||
future
|
||||
|
14
tox.ini
14
tox.ini
@ -4,7 +4,7 @@
|
||||
# and then run "tox" from this directory.
|
||||
|
||||
[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]
|
||||
commands = nosetests
|
||||
@ -31,7 +31,7 @@ deps =
|
||||
{[testenv]deps}
|
||||
mock
|
||||
|
||||
[testenv:py35]
|
||||
[testenv:py36]
|
||||
setenv =
|
||||
PYCRAFT_RUN_INTERNET_TESTS=1
|
||||
commands =
|
||||
@ -45,7 +45,7 @@ deps =
|
||||
mock
|
||||
|
||||
[testenv:flake8]
|
||||
basepython = python3.5
|
||||
basepython = python3.6
|
||||
commands =
|
||||
flake8 minecraft tests setup.py start.py bin/generate_travis_yml.py
|
||||
deps =
|
||||
@ -53,14 +53,14 @@ deps =
|
||||
flake8
|
||||
|
||||
[testenv:pylint-errors]
|
||||
basepython = python3.5
|
||||
basepython = python3.6
|
||||
deps =
|
||||
{[testenv]deps}
|
||||
pylint
|
||||
commands = pylint minecraft -E
|
||||
|
||||
[testenv:pylint-full]
|
||||
basepython = python3.5
|
||||
basepython = python3.6
|
||||
deps =
|
||||
{[testenv]deps}
|
||||
pylint
|
||||
@ -68,7 +68,7 @@ commands =
|
||||
- pylint minecraft --disable=E
|
||||
|
||||
[testenv:docs]
|
||||
basepython = python3.5
|
||||
basepython = python3.6
|
||||
deps =
|
||||
{[testenv:cover]deps}
|
||||
sphinx
|
||||
@ -77,7 +77,7 @@ commands =
|
||||
{toxinidir}/bin/build_docs
|
||||
|
||||
[testenv:verify-manifest]
|
||||
basepython = python3.5
|
||||
basepython = python3.6
|
||||
deps =
|
||||
check-manifest
|
||||
commands =
|
||||
|
Loading…
Reference in New Issue
Block a user