1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00

fix coverals in travis

This commit is contained in:
ivaosthu 2016-11-10 21:38:19 +01:00
parent 8c2ba0415f
commit 6ce0b87464
2 changed files with 3 additions and 1 deletions

View File

@ -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=

View File

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