From 92f2715f3edf20b4edf3423e1910209434a166b6 Mon Sep 17 00:00:00 2001 From: David Vierra Date: Fri, 16 Oct 2015 12:30:31 -1000 Subject: [PATCH] Add travis.yml --- .travis.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .travis.yml 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 +