From 1755bcd1b57de68141f686cba89011fbf9b6693c Mon Sep 17 00:00:00 2001 From: nvbn Date: Tue, 28 Jun 2016 03:05:42 +0300 Subject: [PATCH] #524: Run functional tests only with python 3.5 --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index c4b71bbd..0b087298 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,6 +20,8 @@ install: - rm -rf build script: - 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: - coveralls