From 58e34af5006e01f5f82f41082c51db84c34f73d2 Mon Sep 17 00:00:00 2001 From: Romain Lanz Date: Sun, 23 Sep 2018 18:30:19 +0200 Subject: [PATCH] chore(package): run test coverage only on CI --- .travis.yml | 2 ++ package.json | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 5ce22a6..caf8bea 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,8 @@ services: - redis-server install: - npm install +after_script: + - npm run coverage notifications: slack: secure: >- diff --git a/package.json b/package.json index d1cb968..ceba56e 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,6 @@ "scripts": { "mrm": "mrm --preset=@adonisjs/mrm-preset", "pretest": "npm run lint", - "posttest": "npm run coverage", "test:local": "FORCE_COLOR=true node bin/index.js --local", "test": "nyc japa", "test:win": "node ./node_modules/japa-cli/index.js",