diff --git a/.travis.yml b/.travis.yml index 71aea58..3ca9628 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,4 +4,5 @@ node_js: - "8" - "10" script: + - npm run build - npm run test:ci diff --git a/package.json b/package.json index 44e778e..6f86b74 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,8 @@ "build": "ng build && npm run postbuild", "lint": "ng lint", "test": "ng test --browsers ChromeHeadless --watch=false --code-coverage", - "test:ci": "npm run test && cat coverage/angular-contenteditable-accessor/lcov.info | coveralls", + "test:ci": "npm run check && npm run coveralls", + "coveralls": "cat coverage/angular-contenteditable-accessor/lcov.info | coveralls", "release": "standard-version && npm run build", "package": "node scripts/updatePackage.js && git add projects/angular-contenteditable-accessor/package.json", "postbuild": "node scripts/copyReadme.js && node scripts/removeDependencies.js",