From cdf25c619590a6f11209e85edba434cd3fba24a6 Mon Sep 17 00:00:00 2001 From: Dag Wieers Date: Sat, 13 Oct 2018 01:19:24 +0200 Subject: [PATCH] Fix Python 2.6 issues in Travis CI --- .travis.yml | 2 +- requirements-test.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 5b07a4a1..d1e94471 100644 --- a/.travis.yml +++ b/.travis.yml @@ -51,10 +51,10 @@ install: - pip install virtualenv - python -m virtualenv ~/.venv - source ~/.venv/bin/activate + - pip install -r requirements-test.txt - pip install coveralls - pip install .[credssp] - pip install .[kerberos] - - pip install -r requirements-test.txt script: - py.test -v --pep8 --cov=winrm --cov-report=term-missing winrm/tests/ diff --git a/requirements-test.txt b/requirements-test.txt index d429d101..cd460172 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -4,3 +4,4 @@ pytest<=3.2.5 pytest-cov pytest-pep8 mock +pycparser<=2.18; python_version<"2.7"