From c7c87a929790ba64320a86779654e6ef4e37fc65 Mon Sep 17 00:00:00 2001 From: Aditya Hase Date: Fri, 7 Sep 2018 19:01:17 +0530 Subject: [PATCH] feature(coverage): Add test coverage to erpnext travis builds --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9bca4270ca..d77f9ef5ae 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,7 @@ install: - sudo apt-get install hhvm && rm -rf /home/travis/.kiex/ - sudo apt-get purge -y mysql-common mysql-server mysql-client - nvm install v7.10.0 + - pip install python-coveralls - wget https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py - sudo python install.py --develop --user travis --without-bench-setup - sudo pip install -e ~/bench @@ -44,7 +45,9 @@ jobs: - stage: test script: - set -e - - bench run-tests --app erpnext + - bench run-tests --app erpnext --coverage + after_script: + - coveralls -b apps/erpnext -d ../../sites/.coverage env: Server Side Test - # stage script: