From db1c3c3da98b4fa9bc8044d1e4e7566811cda1a3 Mon Sep 17 00:00:00 2001 From: Colin Raffel Date: Thu, 13 Oct 2016 19:17:20 -0700 Subject: [PATCH] Add Travis and Coveralls support --- .travis.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..bdad6e8 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,23 @@ +language: python + +notifications: + email: false + +python: + - "2.7" + - "3.5" + +before_install: + - pip install python-coveralls numpydoc pep8 nose + +install: + - pip install -e . + +before_script: + - pep8 pretty_midi tests examples + +script: + - nosetests -v --with-coverage --cover-package=pretty_midi + +after_success: + - coveralls