test: always run code coverage during `npm test` (#107)

diff --git a/.travis.yml b/.travis.yml
index 3f32cbe..7a8f10e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -13,7 +13,6 @@
 
 script:
   - npm test
-  - npm run cover
 
 after_success:
   - npx codecov
diff --git a/package.json b/package.json
index c937291..69ea020 100644
--- a/package.json
+++ b/package.json
@@ -17,7 +17,7 @@
     "node": ">=10.0.0"
   },
   "scripts": {
-    "test": "npm run eslint && npm run test:unit",
+    "test": "npm run eslint && npm run cover",
     "test:unit": "jasmine \"spec/**/*.spec.js\"",
     "eslint": "eslint src spec",
     "cover": "nyc npm run test:unit"