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/*",