From bedc30d41ff9c3dd8fb59cb6d5c8c16170d69cda Mon Sep 17 00:00:00 2001 From: Christopher Baklid Date: Tue, 20 Feb 2018 21:39:37 +0100 Subject: adds initial unit testing (#22) * Adds Unit Testing * Adds coveralls coverage badge --- .travis.yml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to '.travis.yml') 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 -- cgit v1.2.3