diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..bbe4420 --- /dev/null +++ b/.travis.yml @@ -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 +