From c1b03a9814a5375bd8825ba4394ebe13b1f13cf0 Mon Sep 17 00:00:00 2001 From: Timothy J Warren Date: Tue, 12 Jan 2016 15:03:13 -0500 Subject: [PATCH] Try to generate code coverage report for codeclimate --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7f74855..dc0cb8b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,10 +10,14 @@ node_js: before_script: - npm install -g gulp + - npm install -g codeclimate-test-reporter - psql -c 'DROP DATABASE IF EXISTS test;' -U postgres - psql -c 'create database test;' -U postgres - mysql -e 'create database IF NOT EXISTS test;' - mysql -v -uroot test < ./test/sql/mysql.sql - psql test postgres -f ./test/sql/pgsql.sql -script: gulp \ No newline at end of file +script: gulp + +after_script: + - CODECLIMATE_REPO_TOKEN=aa39789a53f6f8fd84747a98968c9f79795e890d55a533daa943b1042f81687f codeclimate-test-reporter < coverage/lcov.info \ No newline at end of file