Skip to content

Commit 70de8d9

Browse files
committed
Circleci implementation for Codecov
1 parent f3f273c commit 70de8d9

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

.circleci/config.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,10 @@ jobs:
3838
name: Show coverage output in Circle
3939
command: 'cat temp/coverage/coverage.txt'
4040
- run:
41-
name: Run coveralls
42-
command: 'cat temp/coverage/coverage.info'
43-
- run:
44-
name: Run coveralls
45-
command: 'cat temp/coverage/coverage.info | ./node_modules/coveralls/bin/coveralls.js -v true'
41+
name: Run codevoc
42+
command: './node_modules/.bin/codecov -t $CODECOV_TOKEN'
4643
environment:
47-
- COVERALLS_REPO_TOKEN: "VPsVN6sCVWupc3Sh4SKTm5zgGL4pDatDp"
48-
- COVERALLS_SERVICE_NAME: "circle-ci"
44+
- CODECOV_TOKEN: "83a5682f-4c9f-4ed7-9da8-ccc04416f364"
4945
- store_artifacts:
5046
path: temp/coverage
5147
prefix: coverage

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ dist
1313
docs
1414
scripts
1515
.circleci
16+
tslint.json
1617

1718
# Files
1819
*.csproj

docs/guides/mpa.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ Before you start contributing to this project, you will need Node.js. This proje
1919

2020
SharePoint Framework Property Controls uses [MkDocs](http://www.mkdocs.org) to publish documentation pages. See more information about installing MkDocs on your operating system at http://www.mkdocs.org/#installation.
2121

22+
Also, documentation uses custom MkDocs theme that should be installed as well. See [Material theme for MkDocs](https://squidfunk.github.io/mkdocs-material/).
23+
2224
Once you have MkDocs installed on your machine, in the command line:
2325

2426
- run `cd ./docs/documentation` to change directory to where the manual pages are stored

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"@types/react-dom": "0.14.18",
3030
"@types/sinon": "2.3.4",
3131
"@types/webpack-env": ">=1.12.1 <1.14.0",
32-
"coveralls": "3.0.0",
32+
"codecov": "3.0.0",
3333
"enzyme": "2.9.1",
3434
"gulp": "~3.9.1",
3535
"karma-html-reporter": "0.2.7",

0 commit comments

Comments
 (0)