mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
run tests on Python 3.6
This commit is contained in:
parent
38198769eb
commit
0bde932b78
@ -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=
|
||||||
|
@ -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
2
dev.sh
@ -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"
|
||||||
|
1
setup.py
1
setup.py
@ -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",
|
||||||
|
3
tox.ini
3
tox.ini
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user