From 6ce0b87464e4ff6d5a1eb2985d20d2e8155064d5 Mon Sep 17 00:00:00 2001 From: ivaosthu Date: Thu, 10 Nov 2016 21:38:19 +0100 Subject: [PATCH] fix coverals in travis --- .travis.yml | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 174da2c9e1..ef71adb24b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,8 @@ before_script: script: - npm install - npm run test +- npm run test:coverage-report +- npm run test:coverage notifications: slack: secure: MroremSKwtQkwPbrXjgs9hIqKTCDKk7bAIXXzjcS6wXC9uRaFgwFaW8oO3vBxtWa4BL44EQBLE/rboWgqFER62+XgXNgEqGZqrcJHJvby4r+dUNMPI64OZvWdIiydIYxLo8C1C4x5PqBup0xuLq8h/SBnNvA2NLgkjuvzOi+v/Q= diff --git a/package.json b/package.json index 06210f269b..00fdd99ee4 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "start:dev:pg-chain": "export DATABASE_URL=postgres://$PGUSER:$PGPASSWORD@localhost:$PGPORT/postgres ; db-migrate up && npm run start:dev", "db-migrate": "db-migrate up", "db-migrate:down": "db-migrate down", - "test": "export PORT=4243 ; mocha --recursive test && npm run test:coverage", + "test": "export PORT=4243 ; mocha --recursive test", "test:unit": "mocha test/unit/**/*.js ", "test:docker": "./scripts/docker-postgres.sh", "test:watch": "mocha --watch test test/*",