diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-06-04 06:30:22 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-06-04 06:30:22 +0400 |
commit | 2ee9bda7e1ce25f36394f4bf99d43df73ee1fff6 (patch) | |
tree | 12393f2b29edf4515094c384f6344826543af839 /.travis.yml | |
parent | 501f2744173ee7dcbecba5cb77f48202363b0bb5 (diff) |
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
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 9 |
1 files 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 |