From 7f3fad80ce128500112f7b51e49a44eaf714a617 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Segonds?= Date: Tue, 3 Nov 2015 16:23:00 +0100 Subject: [PATCH] Update .travis.yml fix python version issue --- {{cookiecutter.repo_name}}/.travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/{{cookiecutter.repo_name}}/.travis.yml b/{{cookiecutter.repo_name}}/.travis.yml index f5b02a01..9796896f 100644 --- a/{{cookiecutter.repo_name}}/.travis.yml +++ b/{{cookiecutter.repo_name}}/.travis.yml @@ -8,7 +8,11 @@ before_install: - sudo apt-get install -qq libsqlite3-dev libxml2 libxml2-dev libssl-dev libbz2-dev wget curl llvm language: python python: +{% if cookiecutter.use_python2 == 'n' -%} - "3.4" +{% else %} + - "2.7" +{%- endif %} install: - "pip install hitch" - "cd tests"