From efc4fd5f0b5d0012e67b7ea52d860a65a7cf6d08 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Tue, 6 Nov 2012 22:05:41 -0500 Subject: [PATCH] ENH: trying to go native travis-ci python way to take advantage of virtualenv's with older pythons --- .travis.yml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index 80dcedb6..e655e7c1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,11 @@ # vim ft=yaml -# travis-ci.org definition for Fail2Ban build (based on nipy configuration) -# -# We pretend to be erlang because we need can't use the python support in -# travis-ci; it uses virtualenvs, they do not have numpy, scipy, matplotlib, -# and it is impractical to build them -language: erlang -env: - - PYTHON=python PYSUF='' - # - PYTHON=python3 PYSUF=3 : python3-numpy not currently available +# travis-ci.org definition for Fail2Ban build +language: python +python: + - "2.5" + - "2.6" + - "2.7" install: - - sudo apt-get install $PYTHON-all $PYTHON-all-dbg $PYTHON-pyinotify $PYTHON-gamin + - "pip install pyinotify" script: - - ./fail2ban-testcases-all + - python ./fail2ban-testcases