From 2ee9bda7e1ce25f36394f4bf99d43df73ee1fff6 Mon Sep 17 00:00:00 2001 From: mattab <matthieu.aubry@gmail.com> Date: Wed, 4 Jun 2014 14:30:22 +1200 Subject: [PATCH] Enabling Python 2.6 on Travis CI refs: https://github.com/piwik/piwik/pull/300 source: http://askubuntu.com/questions/125342/how-can-i-install-python-2-6-on-12-04 --- .travis.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index ff26fc4119..928fd4906b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,9 +8,6 @@ php: # - 5.6 # - hhvm -python: - - "2.6" - # Separate different test suites env: matrix: @@ -95,7 +92,11 @@ before_script: - date - php -r "var_dump(gd_info());" - mysql -e 'create database piwik_tests;' - # Log Analytics uses Python + # Make sure we use Python 2.6 + - sudo add-apt-repository ppa:fkrull/deadsnakes + - sudo apt-get update + - sudo apt-get install python2.6 python2.6-dev + # Log Analytics works with Python 2.6 or 2.7 but we want to test on 2.6 - python --version - ./tests/travis/prepare.sh - ./tests/travis/setup_webserver.sh -- GitLab