1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-01-18 20:11:17 +00:00

Add Python 3.8 version support (#983)

* Update .travis.yml

* Update tox.ini
This commit is contained in:
Eugene Duboviy 2019-10-19 16:00:52 +03:00 committed by Vladimir Iakovlev
parent 4f165bf6df
commit 7a9d87f502
2 changed files with 7 additions and 4 deletions

View File

@ -8,6 +8,9 @@ matrix:
- os: linux
dist: xenial
python: "3.8-dev"
- os: linux
dist: xenial
python: "3.8"
- os: linux
dist: xenial
python: "3.7-dev"
@ -60,7 +63,7 @@ script:
- flake8
- export COVERAGE_PYTHON_VERSION=python-${TRAVIS_PYTHON_VERSION:0:1}
- export RUN_TESTS="coverage run --source=thefuck,tests -m py.test -v --capture=sys tests"
- if [[ $TRAVIS_PYTHON_VERSION == 3.7 && $TRAVIS_OS_NAME != "osx" ]]; then $RUN_TESTS --enable-functional; fi
- if [[ $TRAVIS_PYTHON_VERSION != 3.7 || $TRAVIS_OS_NAME == "osx" ]]; then $RUN_TESTS; fi
- if [[ $TRAVIS_PYTHON_VERSION == 3.8 && $TRAVIS_OS_NAME != "osx" ]]; then $RUN_TESTS --enable-functional; fi
- if [[ $TRAVIS_PYTHON_VERSION != 3.8 || $TRAVIS_OS_NAME == "osx" ]]; then $RUN_TESTS; fi
after_success:
- if [[ $TRAVIS_PYTHON_VERSION == 3.7 && $TRAVIS_OS_NAME != "osx" ]]; then coveralls; fi
- if [[ $TRAVIS_PYTHON_VERSION == 3.8 && $TRAVIS_OS_NAME != "osx" ]]; then coveralls; fi

View File

@ -1,5 +1,5 @@
[tox]
envlist = py27,py34,py35,py36,py37
envlist = py27,py34,py35,py36,py37,py38
[testenv]
deps = -rrequirements.txt