Skip to content

Commit 3fd0696

Browse files
committed
Changed to Python 3 for non-test tox tasks.
1 parent ae2e955 commit 3fd0696

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ cache: pip
44

55
matrix:
66
include:
7-
- python: 2.7
7+
- python: 3.6
88
env: TOXENV=docs
9-
- python: 2.7
10-
env: TOXENV=prospector
119
- python: 3.5
10+
env: TOXENV=prospector
11+
- python: 3.6
1212
env: TOXENV=isort
1313
- python: 2.7
1414
env: TOXENV=py27-1.8

tox.ini

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ deps =
3030
deps =
3131
Sphinx>=1.3
3232
-r{toxinidir}/docs/requirements.txt
33-
basepython = python2.7
33+
basepython = python3.6
3434
commands =
3535
sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
3636

@@ -39,10 +39,11 @@ deps =
3939
# Prospector 0.12.5 (with pylint 1.7) adds new checks which are not yet fixed in localflavor.
4040
prospector==0.12.4
4141
pylint>=1.6,<1.7
42-
basepython = python2.7
42+
# Prospector 0.12.4 doesn't work with Python 3.6.
43+
basepython = python3.5
4344
commands = prospector --profile localflavor.prospector.yaml {toxinidir}
4445

4546
[testenv:isort]
4647
deps = isort>=4.2,<4.3
47-
basepython = python3.5
48+
basepython = python3.6
4849
commands = isort --recursive --line-width 120 --diff --check {toxinidir}/localflavor {toxinidir}/tests

0 commit comments

Comments
 (0)