Skip to content

Commit 5856bd5

Browse files
committed
test:ci
1 parent 472939b commit 5856bd5

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ public/
1313
config/buildConfig.json
1414
config/manifest.json
1515
package-lock.json
16-
coverage
1716
.nyc_output
1817
package-lock.json
1918

.travis.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ node_js:
44
- '6'
55
- '8'
66
- '9'
7-
install:
8-
- npm i npminstall && npminstall
97
script:
10-
- npm run ci
11-
after_script:
12-
- npminstall codecov && codecov
8+
- npm test
9+
after_success:
10+
- npm run cov

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"fix": "eslint --fix .",
4242
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
4343
"test": "nyc --reporter=html --reporter=text mocha --timeout=1000000",
44-
"cov": "nyc report --reporter=lcov > coverage.lcov && codecov --token=71d430b6-cb87-49b2-a156-2c55cd181ba4",
44+
"cov": "nyc report --reporter=lcov && codecov --token=71d430b6-cb87-49b2-a156-2c55cd181ba4",
4545
"ci": "npm run lint && npm run cov",
4646
"ii": "npm install --registry https://registry.npm.taobao.org"
4747
},

0 commit comments

Comments
 (0)