hy/.travis.yml
Abhishek L f326975d7c Make ci builds faster by splitting requirements
Make travis builds faster by splitting requirements into
requirements-travis.txt, which contains all the requirements necessary
for running tests, documentation related packages are omitted and added
as a part of requirements-dev.txt

Additionally .travis.yml is modified to cache pip downloads, though this
feature is yet to be rolled out for the free tier
2014-05-13 22:47:19 +05:30

34 lines
768 B
YAML

language: python
python:
- "pypy"
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
cache:
- $HOME/.pip-cache
# command to install dependencies
install:
- pip install -r requirements-travis.txt --download-cache $HOME/.pip-cache
- pip install coveralls --download-cache $HOME/.pip-cache
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi # needs for running tests
- pip install --allow-all-external -e .
# command to run tests
script: make travis
after_success: coveralls
notifications:
email:
- paultag@gmail.com
irc:
channels:
- "irc.freenode.net#woo-city-commits"
- "irc.freenode.net#hy"
on_success: change
on_failure: change
use_notice: false
# blacklist
branches:
except:
- debian