Skip to content

Commit af0c486

Browse files
authored
Merge pull request #14 from simon-begin/use-python36-for-building-and-tests
Build on python36
2 parents d964e95 + 87e43c4 commit af0c486

File tree

4 files changed

+15
-4
lines changed

4 files changed

+15
-4
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ sudo: false
44
python:
55
- "2.7"
66
- "3.4"
7+
- "3.6"
78

89
install:
910
- pip install -r requirements.txt
@@ -20,5 +21,5 @@ deploy:
2021
secure: CiCAhkhxawA2/RjstP+Fg0oCEzIlRpsY8oPY7twLR00F2jKLmjvRwG+MiWoHYOabSzfiEC2gigMLlaYTqs367KenOvdDUySaMdtNDPF89rM47O/Fv1YKYjAAqvxK3EVUfxAJ3mYN1ybv4fLzqu8uInEGSKagziZQhoyRRvYkjagn36bNSuVTDKuhoc2QrKzYyh2CCG6HmNq4IQJKyvsOHdIznQs/HZR75SUeEsFUNyGMLDd+2H19hmaglLSnaW5z5m/21UgTkPu6aY1qP0JL8ob1HaAWgRy4iXrC7x+kauzuXyCU3QrK9vATghNFoy/9n5ILUaS9EANKQOWES/+jFVuQEJn3L6K62ABcB15x1yWG5g4jQ4FmoNNuDluli+d2Q1Bd1CbzaP6xz68tDITo53py9w3blPwYU8anMDsS6CoQvFyXOd2CDTOH/DRC6ziSyzSEnZ03+fRluVesPsEXO1BosbzomwA4P43y726bM7KPJLS/Me3jbqlee6mMOHjeB6nr9GzXSgQFqDFmZu0l75KRspt7unwnXKM9JJwLQme7VL+0lm28vBn1SjF+s46k2nyYazA3RPf6zD6fgVGqgfzHx/WyWF7CN05tJQaF+AgobYxda4UFvtP+1INNGfmJ2+5h//jvamydCHQ45zMdhRSn4YpQgn8mUXttZgtrfC4=
2122
on:
2223
tags: true
23-
python: 3.4
24+
python: 3.6
2425
repo: internap/python-ubersmith-remote-module-server

tests/Integration/test_router_ubersmith_core.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@
1414

1515
import unittest
1616

17-
from flexmock import flexmock, flexmock_teardown
17+
from flexmock import flexmock
18+
19+
try:
20+
from flexmock._api import flexmock_teardown
21+
except ImportError:
22+
from flexmock import flexmock_teardown
1823

1924
from . import ContextMatcher
2025
from ubersmith_remote_module_server import remote

tests/test_remote.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@
1414

1515
import unittest
1616

17-
from flexmock import flexmock, flexmock_teardown
17+
from flexmock import flexmock
18+
19+
try:
20+
from flexmock._api import flexmock_teardown
21+
except ImportError:
22+
from flexmock import flexmock_teardown
1823

1924
from tests import mock_ubersmith_client, mock_ubersmith_api
2025
from ubersmith_remote_module_server import remote

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py27,py34,pep8
2+
envlist = py27,py36,pep8
33

44
[testenv]
55
deps = -r{toxinidir}/test-requirements.txt

0 commit comments

Comments
 (0)