Add travis.yml
This commit is contained in:
parent
bf9a278296
commit
92f2715f3e
28
.travis.yml
Normal file
28
.travis.yml
Normal 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
|
||||||
|
|
Reference in New Issue
Block a user