aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorGravatar Christopher Baklid <[email protected]>2018-02-20 21:39:37 +0100
committerGravatar GitHub <[email protected]>2018-02-20 21:39:37 +0100
commitbedc30d41ff9c3dd8fb59cb6d5c8c16170d69cda (patch)
tree896ab99d3888d66e20521f398e1452bbe1cbb042 /.travis.yml
parentAdd Vagrantfile (diff)
adds initial unit testing (#22)
* Adds Unit Testing * Adds coveralls coverage badge
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 30032dfe..376c1604 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,10 +2,17 @@ language: python
python:
- "3.6"
+addons:
+ rethinkdb: "2.3"
+
+cache: pip
+
install:
- pip install -r requirements.txt
- pip install -r requirements-ci.txt
script:
- snekchek
+ - py.test app_test.py --cov pysite --cov-report term-missing -v
+ - coveralls
after_success:
- python deploy.py