diff --git a/.travis.yml b/.travis.yml index fd243ee36..0c5da3ccc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,19 +11,22 @@ before_install: install: # nose is already installed - pip install unittest2 - - pip install cython + - pip install cython - sudo apt-get install python-numpy - sudo apt-get install swig # Test against the current master of traits, traitsui and enable - pip install git+http://github.com/enthought/traits.git#egg=traits - pip install git+http://github.com/enthought/traitsui.git#egg=traitsui + # New version of pip does not install packages that are external to the pypi repositories. Since PIL is external and enable needs PIL, + # to install we have to tell pip to specifically allow PIL to be installed. + - pip install PIL --allow-external PIL --allow-unverified PIL - pip install git+http://github.com/enthought/enable.git#egg=enable - python setup.py develop -script: +script: # Running all tests in chaco/tests and chaco/tests2 - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then nosetests -v chaco; fi # FIXME: tricky to install PyQt for version <= 2.6, only running chaco/tests - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then nosetests -v chaco/tests; fi notifications: email: - - travis-ci@enthought.com \ No newline at end of file + - travis-ci@enthought.com