Test Python 3.6

This commit is contained in:
Markus Unterwaditzer 2017-01-05 23:57:54 +01:00
parent 2a3e599868
commit 855be466bd
2 changed files with 53 additions and 37 deletions

View file

@ -16,91 +16,103 @@
"include": [ "include": [
{ {
"env": "BUILD=style BUILD_PRS=true", "env": "BUILD=style BUILD_PRS=true",
"python": "3.6"
},
{
"env": "BUILD=test DAV_SERVER=radicale REQUIREMENTS=devel BUILD_PRS=false",
"python": "3.3"
},
{
"env": "BUILD=test DAV_SERVER=radicale REQUIREMENTS=release BUILD_PRS=false",
"python": "3.3"
},
{
"env": "BUILD=test DAV_SERVER=radicale REQUIREMENTS=minimal BUILD_PRS=false",
"python": "3.3"
},
{
"env": "BUILD=test DAV_SERVER=radicale REQUIREMENTS=devel BUILD_PRS=false",
"python": "3.4"
},
{
"env": "BUILD=test DAV_SERVER=radicale REQUIREMENTS=release BUILD_PRS=false",
"python": "3.4"
},
{
"env": "BUILD=test DAV_SERVER=radicale REQUIREMENTS=minimal BUILD_PRS=false",
"python": "3.4"
},
{
"env": "BUILD=test DAV_SERVER=radicale REQUIREMENTS=devel BUILD_PRS=false",
"python": "3.5" "python": "3.5"
}, },
{
"env": "BUILD=test DAV_SERVER=radicale REQUIREMENTS=devel BUILD_PRS=false",
"python": "3.3"
},
{ {
"env": "BUILD=test DAV_SERVER=radicale REQUIREMENTS=release BUILD_PRS=false", "env": "BUILD=test DAV_SERVER=radicale REQUIREMENTS=release BUILD_PRS=false",
"python": "3.3" "python": "3.5"
}, },
{ {
"env": "BUILD=test DAV_SERVER=radicale REQUIREMENTS=minimal BUILD_PRS=false", "env": "BUILD=test DAV_SERVER=radicale REQUIREMENTS=minimal BUILD_PRS=false",
"python": "3.3" "python": "3.5"
},
{
"env": "BUILD=test DAV_SERVER=radicale REQUIREMENTS=devel BUILD_PRS=false",
"python": "3.4"
},
{
"env": "BUILD=test DAV_SERVER=radicale REQUIREMENTS=release BUILD_PRS=false",
"python": "3.4"
},
{
"env": "BUILD=test DAV_SERVER=radicale REQUIREMENTS=minimal BUILD_PRS=false",
"python": "3.4"
}, },
{ {
"env": "BUILD=test DAV_SERVER=radicale REQUIREMENTS=devel BUILD_PRS=true", "env": "BUILD=test DAV_SERVER=radicale REQUIREMENTS=devel BUILD_PRS=true",
"python": "3.5" "python": "3.6"
}, },
{ {
"env": "BUILD=test DAV_SERVER=radicale REQUIREMENTS=release BUILD_PRS=true", "env": "BUILD=test DAV_SERVER=radicale REQUIREMENTS=release BUILD_PRS=true",
"python": "3.5" "python": "3.6"
}, },
{ {
"env": "BUILD=test DAV_SERVER=radicale REQUIREMENTS=minimal BUILD_PRS=true", "env": "BUILD=test DAV_SERVER=radicale REQUIREMENTS=minimal BUILD_PRS=true",
"python": "3.5" "python": "3.6"
}, },
{ {
"env": "BUILD=test DAV_SERVER=owncloud REQUIREMENTS=devel BUILD_PRS=false", "env": "BUILD=test DAV_SERVER=owncloud REQUIREMENTS=devel BUILD_PRS=false",
"python": "3.5" "python": "3.6"
}, },
{ {
"env": "BUILD=test DAV_SERVER=owncloud REQUIREMENTS=release BUILD_PRS=false", "env": "BUILD=test DAV_SERVER=owncloud REQUIREMENTS=release BUILD_PRS=false",
"python": "3.5" "python": "3.6"
}, },
{ {
"env": "BUILD=test DAV_SERVER=owncloud REQUIREMENTS=minimal BUILD_PRS=false", "env": "BUILD=test DAV_SERVER=owncloud REQUIREMENTS=minimal BUILD_PRS=false",
"python": "3.5" "python": "3.6"
}, },
{ {
"env": "BUILD=test DAV_SERVER=nextcloud REQUIREMENTS=devel BUILD_PRS=false", "env": "BUILD=test DAV_SERVER=nextcloud REQUIREMENTS=devel BUILD_PRS=false",
"python": "3.5" "python": "3.6"
}, },
{ {
"env": "BUILD=test DAV_SERVER=nextcloud REQUIREMENTS=release BUILD_PRS=false", "env": "BUILD=test DAV_SERVER=nextcloud REQUIREMENTS=release BUILD_PRS=false",
"python": "3.5" "python": "3.6"
}, },
{ {
"env": "BUILD=test DAV_SERVER=nextcloud REQUIREMENTS=minimal BUILD_PRS=false", "env": "BUILD=test DAV_SERVER=nextcloud REQUIREMENTS=minimal BUILD_PRS=false",
"python": "3.5" "python": "3.6"
}, },
{ {
"env": "BUILD=test DAV_SERVER=baikal REQUIREMENTS=devel BUILD_PRS=false", "env": "BUILD=test DAV_SERVER=baikal REQUIREMENTS=devel BUILD_PRS=false",
"python": "3.5" "python": "3.6"
}, },
{ {
"env": "BUILD=test DAV_SERVER=baikal REQUIREMENTS=release BUILD_PRS=false", "env": "BUILD=test DAV_SERVER=baikal REQUIREMENTS=release BUILD_PRS=false",
"python": "3.5" "python": "3.6"
}, },
{ {
"env": "BUILD=test DAV_SERVER=baikal REQUIREMENTS=minimal BUILD_PRS=false", "env": "BUILD=test DAV_SERVER=baikal REQUIREMENTS=minimal BUILD_PRS=false",
"python": "3.5" "python": "3.6"
}, },
{ {
"env": "BUILD=test DAV_SERVER=davical REQUIREMENTS=devel BUILD_PRS=false", "env": "BUILD=test DAV_SERVER=davical REQUIREMENTS=devel BUILD_PRS=false",
"python": "3.5" "python": "3.6"
}, },
{ {
"env": "BUILD=test DAV_SERVER=davical REQUIREMENTS=release BUILD_PRS=false", "env": "BUILD=test DAV_SERVER=davical REQUIREMENTS=release BUILD_PRS=false",
"python": "3.5" "python": "3.6"
}, },
{ {
"env": "BUILD=test DAV_SERVER=davical REQUIREMENTS=minimal BUILD_PRS=false", "env": "BUILD=test DAV_SERVER=davical REQUIREMENTS=minimal BUILD_PRS=false",
"python": "3.5" "python": "3.6"
}, },
{ {
"env": "BUILD=test", "env": "BUILD=test",

View file

@ -2,6 +2,9 @@ import itertools
import json import json
import sys import sys
python_versions = ("3.3", "3.4", "3.5", "3.6")
latest_python = "3.6"
def script(x): def script(x):
return """ return """
@ -40,12 +43,13 @@ matrix = []
cfg['matrix'] = {'include': matrix} cfg['matrix'] = {'include': matrix}
matrix.append({ matrix.append({
'python': "3.5", 'python': latest_python,
'env': 'BUILD=style BUILD_PRS=true' 'env': 'BUILD=style BUILD_PRS=true'
}) })
for python in ("3.3", "3.4", "3.5"):
if python == "3.5": for python in python_versions:
if python == latest_python:
dav_servers = ("radicale", "owncloud", "nextcloud", "baikal", dav_servers = ("radicale", "owncloud", "nextcloud", "baikal",
"davical") "davical")
rs_servers = () rs_servers = ()
@ -61,7 +65,7 @@ for python in ("3.3", "3.4", "3.5"):
("devel", "release", "minimal") ("devel", "release", "minimal")
): ):
build_prs = ( build_prs = (
python == "3.5" and python == latest_python and
server_type == 'DAV' and server_type == 'DAV' and
server == 'radicale' server == 'radicale'
) )