Skip to content

Commit

Permalink
Added py37 (#149)
Browse files Browse the repository at this point in the history
* Added py37 to jenkins

* Added py37 to tox

* Added py37 trove classifier

* Added py37 to travis

* Added py37 to wheel builder
  • Loading branch information
alex authored and reaperhulk committed Jul 4, 2018
1 parent 5dc40e5 commit 0aa5dea
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 8 deletions.
14 changes: 9 additions & 5 deletions .jenkins/Jenkinsfile-wheel-builder
@@ -1,22 +1,23 @@
def configs = [
[
label: 'windows',
versions: ['py27', 'py34', 'py35', 'py36'],
versions: ['py27', 'py34', 'py35', 'py36', 'py37'],
],
[
label: 'windows64',
versions: ['py27', 'py34', 'py35', 'py36'],
versions: ['py27', 'py34', 'py35', 'py36', 'py37'],
],
[
label: 'sierra',
versions: ['py27', 'py34', 'py35', 'py36'],
versions: ['py27', 'py34', 'py35', 'py36', 'py37'],
],
[
label: 'docker',
imageName: 'quay.io/pypa/manylinux1_x86_64',
versions: [
'cp27-cp27m', 'cp27-cp27mu',
'cp34-cp34m', 'cp35-cp35m', 'cp36-cp36m'
'cp34-cp34m', 'cp35-cp35m', 'cp36-cp36m',
'cp37-cp37m',
],
],
[
Expand All @@ -25,6 +26,7 @@ def configs = [
versions: [
'cp27-cp27m', 'cp27-cp27mu',
'cp34-cp34m', 'cp35-cp35m', 'cp36-cp36m'
'cp37-cp37m',
],
],
]
Expand All @@ -38,7 +40,8 @@ def build(version, label, imageName) {
py27: "C:\\Python27\\python.exe",
py34: "C:\\Python34\\python.exe",
py35: "C:\\Python35\\python.exe",
py36: "C:\\Python36\\python.exe"
py36: "C:\\Python36\\python.exe",
py37: "C:\\Python37\\python.exe"
]
bat """
wmic qfe
Expand All @@ -58,6 +61,7 @@ def build(version, label, imageName) {
py34: "/Library/Frameworks/Python.framework/Versions/3.4/bin/python3.4",
py35: "/Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5",
py36: "/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6",
py37: "/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7",
]
ansiColor {
sh """#!/usr/bin/env bash
Expand Down
10 changes: 10 additions & 0 deletions .travis.yml
Expand Up @@ -12,6 +12,12 @@ matrix:
env: TOXENV=py35 CC=gcc
- python: 3.6
env: TOXENV=py36 CC=gcc
- python: 3.6
env: TOXENV=py36 CC=gcc
- python: 3.7
env: TOXENV=py37 CC=gcc
dist: xenial
sudo: true
- python: pypy
env: TOXENV=pypy CC=gcc
- python: 2.7
Expand All @@ -22,6 +28,10 @@ matrix:
env: TOXENV=py35 CC=clang
- python: 3.6
env: TOXENV=py36 CC=clang
- python: 3.7
env: TOXENV=py37 CC=clang
dist: xenial
sudo: true
- python: pypy
env: TOXENV=pypy CC=clang
- python: 2.7
Expand Down
4 changes: 2 additions & 2 deletions Jenkinsfile
@@ -1,11 +1,11 @@
def configs = [
[
label: 'windows',
toxenvs: ['py27', 'py34', 'py35', 'py36'],
toxenvs: ['py27', 'py34', 'py35', 'py36', 'py37'],
],
[
label: 'windows64',
toxenvs: ['py27', 'py34', 'py35', 'py36'],
toxenvs: ['py27', 'py34', 'py35', 'py36', 'py37'],
],
[
label: 'freebsd11',
Expand Down
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -231,6 +231,7 @@ def run_tests(self):
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],

ext_package="bcrypt",
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
@@ -1,5 +1,5 @@
[tox]
envlist = py27,pypy,py34,py35,py36,pep8,py3pep8,packaging
envlist = py27,pypy,py34,py35,py36,py37,pep8,py3pep8,packaging

[testenv]
extras =
Expand Down

0 comments on commit 0aa5dea

Please sign in to comment.