.travis.yml
language: python
python:
- 2.6
- 2.7
install:
- python setup.py install
script: python setup.py test
branches:
only:
- master
notifications:
email:
on_success: change
on_failure: always
recipients:
- andrew@topdog.za.net
before_install:
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install -r requirements/requirements26_dev.txt; fi
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install -r requirements/requirements_dev.txt; fi
- pip install codecov
after_success:
- codecov