language: python
python:
  - 2.7
  - 2.6
virtualenv:
  # This allows installing PyQt using apt-get and being able to import it.
  system_site_packages: true
before_install:
  # Install PyQt4 and run the UI tests
  - source .travis_before_install
install:
  # nose is already installed
  - pip install cython
  - sudo apt-get install python-numpy
  - sudo apt-get install swig
  - pip install PIL
  - pip install pyparsing
  # Test against the current master of traits and traitsui
  - pip install git+http://github.com/enthought/traits.git#egg=traits
  - pip install git+http://github.com/enthought/traitsui.git#egg=traitsui
  - python setup.py develop
script: nosetests
notifications:
  email:
    - travis-ci@enthought.com
language: python
python:
  - 2.7
  - 2.6
virtualenv:
  # This allows installing PyQt using apt-get and being able to import it.
  system_site_packages: true
before_install:
  # For Python 2.7, install PyQt4
  - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then source .travis_before_install; fi
  # PyQt can't be installed on 2.6; run the tests with the null toolkit.
  - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then export ETS_TOOLKIT=null.image; fi
install:
  # nose is already installed
  - pip install cython
  - sudo apt-get install python-numpy
  - sudo apt-get install swig
  - pip install PIL
  - pip install pyparsing
  # Test against the current master of traits and traitsui
  - pip install git+http://github.com/enthought/traits.git#egg=traits
  - pip install git+http://github.com/enthought/traitsui.git#egg=traitsui
  - python setup.py develop
script: nosetests
notifications:
  email:
    - travis-ci@enthought.com
Set ETS_TOOLKIT to null.image on Python 2.6.
Set ETS_TOOLKIT to null.image on Python 2.6.
