Try to generate code coverage report for codeclimate

This commit is contained in:
Timothy Warren 2016-01-12 15:03:13 -05:00
parent c4256766ea
commit c1b03a9814

View File

@ -10,6 +10,7 @@ node_js:
before_script: before_script:
- npm install -g gulp - npm install -g gulp
- npm install -g codeclimate-test-reporter
- psql -c 'DROP DATABASE IF EXISTS test;' -U postgres - psql -c 'DROP DATABASE IF EXISTS test;' -U postgres
- psql -c 'create database test;' -U postgres - psql -c 'create database test;' -U postgres
- mysql -e 'create database IF NOT EXISTS test;' - mysql -e 'create database IF NOT EXISTS test;'
@ -17,3 +18,6 @@ before_script:
- psql test postgres -f ./test/sql/pgsql.sql - psql test postgres -f ./test/sql/pgsql.sql
script: gulp script: gulp
after_script:
- CODECLIMATE_REPO_TOKEN=aa39789a53f6f8fd84747a98968c9f79795e890d55a533daa943b1042f81687f codeclimate-test-reporter < coverage/lcov.info