language: python

# We support from Python 2.4 to 2.7. However, 2.4 is not supported by travis,
# so it is not listed here
python:
  - "2.5"
  - "2.6"
  - "2.7"
  - "jython"

# we need cmake, and jython if the python version is "jython"
install:
  - sudo apt-get install cmake
  - export JYTHON_URL='http://downloads.sourceforge.net/project/jython/jython/2.5.2/jython_installer-2.5.2.jar?r=http%3A%2F%2Fwww.jython.org%2Fdownloads.html&ts=1338089844&use_mirror=iweb'
  - if [ "$TRAVIS_PYTHON_VERSION" == "jython" ]; then wget $JYTHON_URL -O jython_installer.jar; java -jar jython_installer.jar -s -d $HOME/jython; $HOME/jython/jython --version; fi

# test script
script:
  - if [ "$TRAVIS_PYTHON_VERSION" == "jython" ]; then cmake -DPYTHON_EXECUTABLE="$HOME/jython/jython" . ; else cmake . ; fi
  - ctest -V .

# Notify the mailing list
notifications:
 recipients:
   - editorconfig@googlegroups.com
 email:
   on_success: change
   on_failure: always

language: python

# We support from Python 2.4 to 2.7. However, 2.4 is not supported by travis,
# so it is not listed here
python:
  - "2.5"
  - "2.6"
  - "2.7"
  - "jython"

# we need cmake, and jython if the python version is "jython"
install:
  - sudo apt-get install cmake
  - export JYTHON_URL='http://downloads.sourceforge.net/project/jython/jython/2.5.2/jython_installer-2.5.2.jar?r=http%3A%2F%2Fwww.jython.org%2Fdownloads.html&ts=1338089844&use_mirror=iweb'
  - if [ "$TRAVIS_PYTHON_VERSION" == "jython" ]; then wget $JYTHON_URL -O jython_installer.jar; java -jar jython_installer.jar -s -d $HOME/jython; $HOME/jython/jython --version; fi

# test script
script:
  - if [ "$TRAVIS_PYTHON_VERSION" == "jython" ]; then cmake -DPYTHON_EXECUTABLE="$HOME/jython/jython" . ; else cmake . ; fi
  - ctest -V --output-on-failure .

# Notify the mailing list
notifications:
 recipients:
   - editorconfig@googlegroups.com
 email:
   on_success: change
   on_failure: always

Print more information when ctest is run by Travis CI.
Print more information when ctest is run by Travis CI.