Skip to content

Commit

Permalink
Circleci implementation for Codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
estruyf committed Dec 8, 2017
1 parent f3f273c commit 70de8d9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
10 changes: 3 additions & 7 deletions .circleci/config.yml
Expand Up @@ -38,14 +38,10 @@ jobs:
name: Show coverage output in Circle
command: 'cat temp/coverage/coverage.txt'
- run:
name: Run coveralls
command: 'cat temp/coverage/coverage.info'
- run:
name: Run coveralls
command: 'cat temp/coverage/coverage.info | ./node_modules/coveralls/bin/coveralls.js -v true'
name: Run codevoc
command: './node_modules/.bin/codecov -t $CODECOV_TOKEN'
environment:
- COVERALLS_REPO_TOKEN: "VPsVN6sCVWupc3Sh4SKTm5zgGL4pDatDp"
- COVERALLS_SERVICE_NAME: "circle-ci"
- CODECOV_TOKEN: "83a5682f-4c9f-4ed7-9da8-ccc04416f364"
- store_artifacts:
path: temp/coverage
prefix: coverage
Expand Down
1 change: 1 addition & 0 deletions .npmignore
Expand Up @@ -13,6 +13,7 @@ dist
docs
scripts
.circleci
tslint.json

# Files
*.csproj
Expand Down
2 changes: 2 additions & 0 deletions docs/guides/mpa.md
Expand Up @@ -19,6 +19,8 @@ Before you start contributing to this project, you will need Node.js. This proje

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.

Also, documentation uses custom MkDocs theme that should be installed as well. See [Material theme for MkDocs](https://squidfunk.github.io/mkdocs-material/).

Once you have MkDocs installed on your machine, in the command line:

- run `cd ./docs/documentation` to change directory to where the manual pages are stored
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -29,7 +29,7 @@
"@types/react-dom": "0.14.18",
"@types/sinon": "2.3.4",
"@types/webpack-env": ">=1.12.1 <1.14.0",
"coveralls": "3.0.0",
"codecov": "3.0.0",
"enzyme": "2.9.1",
"gulp": "~3.9.1",
"karma-html-reporter": "0.2.7",
Expand Down

0 comments on commit 70de8d9

Please sign in to comment.