mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-19 12:24:29 +00:00
#524: Run functional tests only with python 3.5
This commit is contained in:
parent
f773b57bea
commit
1755bcd1b5
@ -20,6 +20,8 @@ install:
|
|||||||
- rm -rf build
|
- rm -rf build
|
||||||
script:
|
script:
|
||||||
- export COVERAGE_PYTHON_VERSION=python-${TRAVIS_PYTHON_VERSION:0:1}
|
- export COVERAGE_PYTHON_VERSION=python-${TRAVIS_PYTHON_VERSION:0:1}
|
||||||
- coverage run --source=thefuck,tests -m py.test -v --capture=sys --enable-functional
|
- export RUN_TESTS="coverage run --source=thefuck,tests -m py.test -v --capture=sys"
|
||||||
|
- if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]]; then $RUN_TESTS --enable-functional; fi
|
||||||
|
- if [[ $TRAVIS_PYTHON_VERSION != 3.5 ]]; then $RUN_TESTS; fi
|
||||||
after_success:
|
after_success:
|
||||||
- coveralls
|
- coveralls
|
||||||
|
Loading…
x
Reference in New Issue
Block a user