run tests on Python 3.6

This commit is contained in:
Thomas Kriechbaumer 2016-12-23 20:30:04 +01:00 committed by Maximilian Hils
parent 38198769eb
commit 0bde932b78
5 changed files with 15 additions and 3 deletions

View File

@ -7,6 +7,9 @@ environment:
matrix: matrix:
- PYTHON: "C:\\Python35" - PYTHON: "C:\\Python35"
TOXENV: "py35" TOXENV: "py35"
# TODO: ENABLE WHEN AVAILABLE
# - PYTHON: "C:\\Python36"
# TOXENV: "py36"
SNAPSHOT_HOST: SNAPSHOT_HOST:
secure: NeTo57s2rJhCd/mjKHetXVxCFd3uhr8txnjnAXD1tUI= secure: NeTo57s2rJhCd/mjKHetXVxCFd3uhr8txnjnAXD1tUI=

View File

@ -23,6 +23,15 @@ matrix:
- libssl-dev - libssl-dev
- python: 3.5 - python: 3.5
env: TOXENV=py35 BDIST=1 OPENSSL_ALPN env: TOXENV=py35 BDIST=1 OPENSSL_ALPN
addons:
apt:
sources:
# Debian sid currently holds OpenSSL 1.1.0
# change this with future releases!
- debian-sid
packages:
- python: 3.6
env: TOXENV=py36 OPENSSL_ALPN
addons: addons:
apt: apt:
sources: sources:

2
dev.sh
View File

@ -2,7 +2,7 @@
set -e set -e
set -x set -x
PYVERSION=3.5 PYVERSION=${1:-3.5}
VENV="venv$PYVERSION" VENV="venv$PYVERSION"
echo "Creating dev environment in $VENV using Python $PYVERSION" echo "Creating dev environment in $VENV using Python $PYVERSION"

View File

@ -35,6 +35,7 @@ setup(
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy", "Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Security", "Topic :: Security",

View File

@ -1,10 +1,9 @@
[tox] [tox]
envlist = py35, docs, lint envlist = py35, py36, docs, lint
skipsdist = True skipsdist = True
toxworkdir={env:TOX_WORK_DIR:.tox} toxworkdir={env:TOX_WORK_DIR:.tox}
[testenv] [testenv]
basepython = python3.5
deps = deps =
{env:CI_DEPS:} {env:CI_DEPS:}
-rrequirements.txt -rrequirements.txt