30 lines
829 B
YAML
30 lines
829 B
YAML
language: python
|
|
python:
|
|
- "2.7"
|
|
- "3.3"
|
|
- "3.4"
|
|
|
|
before_install:
|
|
- sudo apt-get update -qq
|
|
- sudo apt-get install -qq python-numpy
|
|
- wget http://openjpeg.googlecode.com/files/openjpeg-1.5.0-Linux-x86_64.tar.gz
|
|
- sudo tar -xvf openjpeg-1.5.0-Linux-x86_64.tar.gz --strip-components=1 -C /
|
|
- pip install coveralls
|
|
|
|
# command to install dependencies
|
|
install:
|
|
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install lxml contextlib2 mock six; fi
|
|
- if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then pip install lxml numpy six; fi
|
|
- if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then pip install lxml numpy six; fi
|
|
|
|
# command to run tests
|
|
script:
|
|
- python -m unittest discover
|
|
after_success:
|
|
- if [[ $ENV == pythone=3.4* ]]; then
|
|
coveralls;
|
|
fi
|
|
|
|
|
|
notifications:
|
|
email: "john.g.evans.ne@gmail.com"
|