Add CI build for Python 3.7

This commit is contained in:
Tobias Gruetzmacher 2019-01-04 00:04:04 +01:00
parent 78e8f05360
commit df18acf135
4 changed files with 7 additions and 5 deletions

View file

@ -4,9 +4,9 @@ python:
- "3.4" - "3.4"
- "3.5" - "3.5"
- "3.6" - "3.6"
- "3.7"
cache: pip cache: pip
dist: trusty dist: xenial
sudo: false
# command to install dependencies # command to install dependencies
install: install:
- pip install -U tox-travis setuptools codecov - pip install -U tox-travis setuptools codecov
@ -27,4 +27,4 @@ deploy:
script: .github/deploy.sh script: .github/deploy.sh
on: on:
branch: master branch: master
python: 3.6 python: 3.7

3
Jenkinsfile vendored
View file

@ -1,5 +1,6 @@
def pys = [ def pys = [
[name: 'Python 3.6', docker:'python:3.6-stretch', tox:'py36,flake8', main: true], [name: 'Python 3.7', docker:'python:3.7-stretch', tox:'py37,flake8', main: true],
[name: 'Python 3.6', docker:'python:3.6-stretch', tox:'py36', main: false],
[name: 'Python 3.5', docker:'python:3.5-jessie', tox:'py35', main: false], [name: 'Python 3.5', docker:'python:3.5-jessie', tox:'py35', main: false],
[name: 'Python 2.7', docker:'python:2.7-stretch', tox:'py27', main: false] [name: 'Python 2.7', docker:'python:2.7-stretch', tox:'py27', main: false]
] ]

View file

@ -22,6 +22,7 @@ classifier =
Programming Language :: Python :: 3.4 Programming Language :: Python :: 3.4
Programming Language :: Python :: 3.5 Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Operating System :: OS Independent Operating System :: OS Independent
[files] [files]

View file

@ -1,5 +1,5 @@
[tox] [tox]
envlist = py27, py34, py35, py36, flake8 envlist = py27, py34, py35, py36, py37, flake8
[testenv] [testenv]
commands = commands =