summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander.sulfrian@fu-berlin.de>2015-07-25 01:32:05 +0200
committerAlexander Sulfrian <alexander.sulfrian@fu-berlin.de>2017-03-29 13:29:58 +0200
commitd5f24fed13339d01424c4f7748c239ae33e0b606 (patch)
tree97bf44213c27e4903752d4fb36e7583f531f9af4 /.travis.yml
parent4f3cb4335c6d934c34d851efa587c525e6fcd876 (diff)
downloadbcfg2-d5f24fed13339d01424c4f7748c239ae33e0b606.tar.gz
bcfg2-d5f24fed13339d01424c4f7748c239ae33e0b606.tar.bz2
bcfg2-d5f24fed13339d01424c4f7748c239ae33e0b606.zip
travis-ci: Also run tests with python2.4 and python2.5
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml17
1 files changed, 12 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index f51637ccd..6a061b233 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,14 +2,15 @@ sudo: false
language: python
matrix:
include:
+ - env: PYTHON=2.4
+ - env: PYTHON=2.5
- python: "2.6"
- env: WITH_OPTIONAL_DEPS=no TEST_SPHINX=no
- - python: "2.6"
- env: WITH_OPTIONAL_DEPS=yes TEST_SPHINX=no
- - python: "2.7_with_system_site_packages"
- env: WITH_OPTIONAL_DEPS=no TEST_SPHINX=no
+ - python: "2.7"
- python: "2.7_with_system_site_packages"
env: WITH_OPTIONAL_DEPS=yes TEST_SPHINX=yes
+before_install:
+ - testsuite/prepare-python.sh
+ - if test -d "$HOME/custom-virtualenv/"; then source "$HOME/custom-virtualenv/bin/activate"; fi
install:
- testsuite/install.sh
- pip install -e .
@@ -29,7 +30,13 @@ notifications:
use_notice: true
addons:
apt:
+ sources:
+ - deadsnakes
packages:
+ - python2.4
+ - python2.4-dev
+ - python2.5
+ - python2.5-dev
- swig
- libxml2-utils
- yum