Add travis.yml

This commit is contained in:
David Vierra 2015-10-16 12:30:31 -10:00
parent bf9a278296
commit 92f2715f3e

28
.travis.yml Normal file
View File

@ -0,0 +1,28 @@
language: python
# Use new container-based Travis infrastructure.
sudo: false
# Cache pip packages.
cache: pip
os:
- linux
python:
- "2.7"
install:
# Download-progress bars break Travis's log view. Disable them by piping output
# through another program (if output is not a tty, no progress bars)
# Install dependencies.
- pip install -r requirements-mceditlib.txt | cat
# Install dependencies for tests.
- pip install -r tests/requirements.txt | cat
# Install mceditlib.
- python setup_mceditlib.py develop
script:
- py.test -n 5 tests