From 26e312b3f364f3f2564cd6750186ec006d79aaba Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Tue, 13 Oct 2015 19:54:29 +0530 Subject: [PATCH] Require older version of coverage for Travis build This patch installs coverage 3.7 instead of latest coverage 4.0 on Travis before a build. Coverage 4.0 does not support Python 3.2. Due to need for system-installed, python-dependency packages and due to Travis infrastructure using Ubuntu 12.04, we can only build on Python 3.2 in Travis. --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 05d701819..89c4a4dab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,9 @@ virtualenv: system_site_packages: true # Command to install dependencies -install: "pip install -r requirements.txt" +install: + - pip install coverage==3.7 + - pip install -r requirements.txt # Command to run tests script: python3 setup.py test