From 4509c8975c452bc139643e1b4cd73d73d079ffee Mon Sep 17 00:00:00 2001 From: Kfir Hadas <sharkykh@gmail.com> Date: Sun, 6 Aug 2017 03:15:51 +0300 Subject: [PATCH] Update tox `py27-flake8` test-env (#3947) Update tox so the `py27-flake8` test-env can be used on all platforms. Update CI configurations accordingly. --- .appveyor.yml | 2 +- .travis.yml | 2 +- tox.ini | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index b1b20c933..560d07a3d 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -69,7 +69,7 @@ install: test_script: - xo - ps: if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) } # Stop if the previous test failed - - tox -v --recreate + - tox -v --recreate -e "py27-windows" before_test: - echo Starting Tests diff --git a/.travis.yml b/.travis.yml index 9205400ed..0d7719c46 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,7 @@ install: - pip install --upgrade babel mako crowdin-cli-py script: - - xo && tox -v --recreate + - xo && tox -v --recreate -e "py27-{flake8,linux}" cache: directories: diff --git a/tox.ini b/tox.ini index bc4f631c6..861859d4e 100644 --- a/tox.ini +++ b/tox.ini @@ -41,9 +41,7 @@ commands = - codecov -e APPVEYOR_REPO_BRANCH PYTHON_ARCH [testenv:py27-flake8] -platform = linux envdir = {toxworkdir}/flake8 -passenv = CI TRAVIS TRAVIS_* setenv = PATH = {toxinidir}/lib;{env:PATH:} deps = flake8-coding -- GitLab