From 5776f2f0dcdb43895793c6e37747e63e2a4fbd8f Mon Sep 17 00:00:00 2001 From: Shane Fontaine Date: Fri, 28 Dec 2018 20:23:46 -0800 Subject: [PATCH] Add CI testing files --- .coveragerc | 8 ++++++++ .travis.yml | 11 +++++++++++ 2 files changed, 19 insertions(+) create mode 100644 .coveragerc create mode 100644 .travis.yml diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..f4ad01e --- /dev/null +++ b/.coveragerc @@ -0,0 +1,8 @@ +[run] +branch = True +source = + . +omit = + .tox/* + setup.py + tests/* \ No newline at end of file diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..99ae213 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,11 @@ +sudo: false +language: python +# cache package wheels (1 cache per python version) +cache: pip +python: 3.6 + +install: + - pip install .[test] + +script: + - python -m pytest tests/ \ No newline at end of file