Skip to content

Commit 9d8ea23

Browse files
authored
Merge pull request #609 from cclauss/patch-1
Travis CI: Add Python 3.7 to the testing
2 parents 741f8a0 + f568e16 commit 9d8ea23

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
language: python
2-
sudo: required
3-
dist: trusty
42
python:
53
- '2.7'
64
- '3.4'
75
- '3.5'
86
- '3.6'
7+
matrix:
8+
include:
9+
- python: '3.7'
10+
dist: xenial # required for Python >= 3.7 (travis-ci/travis-ci#9069)
911
cache: pip
1012
before_install:
1113
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && openssl aes-256-cbc -K $encrypted_cebf25e6c525_key

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[tox]
2-
envlist = lint, py27, py34, py35, py36
2+
envlist = lint, py27, py34, py35, py36, py37
33

44
[testenv:lint]
5-
basepython = python2.7
5+
basepython = python3.7
66
deps = pylint
77
commands = pylint watson_developer_cloud test examples
88

@@ -14,4 +14,4 @@ commands =
1414
deps =
1515
-r{toxinidir}/requirements.txt
1616
-r{toxinidir}/requirements-dev.txt
17-
exclude = .venv,.git,.tox,docs
17+
exclude = .venv,.git,.tox,docs

0 commit comments

Comments
 (0)