Skip to content

Commit 7739025

Browse files
committed
CI: Enable Python 3.6 on Travis CI, for black
1 parent 573784d commit 7739025

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ jobs:
3131
python: 3.7
3232

3333
install:
34+
# Enable Python 3.6.x, when python: 3.5 (because black is Py3.6+)
35+
- |
36+
if [ "${TRAVIS_PYTHON_VERSION}" == "3.5" ]; then
37+
pyenv shell system:3.6.7
38+
fi
39+
3440
# Get the latest pip
3541
- python -m pip install --upgrade pip
3642
# Reinstall pip, using the latest pip

0 commit comments

Comments
 (0)