mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-18 12:06:04 +00:00
Add Python 3.7 version support (#833)
This commit is contained in:
parent
cc6d90963e
commit
9d46291944
10
.travis.yml
10
.travis.yml
@ -2,6 +2,10 @@ language: python
|
|||||||
sudo: false
|
sudo: false
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
|
- os: linux
|
||||||
|
dist: xenial
|
||||||
|
python: "3.7"
|
||||||
|
sudo: true
|
||||||
- os: linux
|
- os: linux
|
||||||
dist: trusty
|
dist: trusty
|
||||||
python: "3.6"
|
python: "3.6"
|
||||||
@ -39,7 +43,7 @@ script:
|
|||||||
- flake8
|
- flake8
|
||||||
- export COVERAGE_PYTHON_VERSION=python-${TRAVIS_PYTHON_VERSION:0:1}
|
- 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"
|
- export RUN_TESTS="coverage run --source=thefuck,tests -m py.test -v --capture=sys tests"
|
||||||
- if [[ $TRAVIS_PYTHON_VERSION == 3.6 && $TRAVIS_OS_NAME != "osx" ]]; then $RUN_TESTS --enable-functional; fi
|
- if [[ $TRAVIS_PYTHON_VERSION == 3.7 && $TRAVIS_OS_NAME != "osx" ]]; then $RUN_TESTS --enable-functional; fi
|
||||||
- if [[ $TRAVIS_PYTHON_VERSION != 3.6 || $TRAVIS_OS_NAME == "osx" ]]; then $RUN_TESTS; fi
|
- if [[ $TRAVIS_PYTHON_VERSION != 3.7 || $TRAVIS_OS_NAME == "osx" ]]; then $RUN_TESTS; fi
|
||||||
after_success:
|
after_success:
|
||||||
- if [[ $TRAVIS_PYTHON_VERSION == 3.6 && $TRAVIS_OS_NAME != "osx" ]]; then coveralls; fi
|
- if [[ $TRAVIS_PYTHON_VERSION == 3.7 && $TRAVIS_OS_NAME != "osx" ]]; then coveralls; fi
|
||||||
|
@ -6,6 +6,7 @@ environment:
|
|||||||
- PYTHON: "C:/Python34"
|
- PYTHON: "C:/Python34"
|
||||||
- PYTHON: "C:/Python35"
|
- PYTHON: "C:/Python35"
|
||||||
- PYTHON: "C:/Python36"
|
- PYTHON: "C:/Python36"
|
||||||
|
- PYTHON: "C:/Python37"
|
||||||
|
|
||||||
init:
|
init:
|
||||||
- "ECHO %PYTHON%"
|
- "ECHO %PYTHON%"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user