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