Skip to content

Commit 13db1b3

Browse files
committed
docs(README): add status and coverage badges
1 parent 7bb4891 commit 13db1b3

File tree

4 files changed

+52
-7
lines changed

4 files changed

+52
-7
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ script:
1717
- npm run lint
1818
- npm run test -- --no-progress --code-coverage --single-run
1919
- npm run e2e -- --no-progress
20-
# - npm run coverage
20+
- npm run coverage

README.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
# Angular Masonry
22

3+
[![Build Status][travis-badge]][travis]
4+
[![Coverage Status][coveralls-badge]][coveralls]
35
[![Commitizen friendly][commitizen-badge]][commitizen]
46

5-
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.6.6.
7+
This project was generated with [Angular CLI][angular-cli] version 1.6.6.
68

79
## Development server
810

@@ -18,11 +20,11 @@ Run `ng build` to build the project. The build artifacts will be stored in the `
1820

1921
## Running unit tests
2022

21-
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
23+
Run `ng test` to execute the unit tests via [Karma][karma].
2224

2325
## Running end-to-end tests
2426

25-
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
27+
Run `ng e2e` to execute the end-to-end tests via [Protractor][protractor].
2628

2729
## Making Commits
2830

@@ -34,9 +36,17 @@ Run `npm run release` to create a new release. This will use [Standard Version][
3436

3537
## Further help
3638

37-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
39+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README][angular-cli-readme].
3840

41+
[travis]: https://travis-ci.org/thisissoon/angular-masonry
42+
[travis-badge]: https://travis-ci.org/thisissoon/angular-masonry.svg?branch=master
43+
[coveralls]:https://coveralls.io/github/thisissoon/angular-masonry?branch=master
44+
[coveralls-badge]:https://coveralls.io/repos/github/thisissoon/angular-masonry/badge.svg?branch=master
3945
[commitizen]:http://commitizen.github.io/cz-cli/
4046
[commitizen-badge]:https://img.shields.io/badge/commitizen-friendly-brightgreen.svg
4147
[conventional-changelog]:https://github.com/conventional-changelog/conventional-changelog
4248
[standard-version]:https://github.com/conventional-changelog/standard-version
49+
[Karma]:https://karma-runner.github.io
50+
[Protractor]:http://www.protractortest.org/
51+
[angular-cli]:https://github.com/angular/angular-cli
52+
[angular-cli-readme]:https://github.com/angular/angular-cli/blob/master/README.md

package-lock.json

Lines changed: 34 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"build": "ng build --prod",
99
"test": "ng test",
1010
"lint": "ng lint",
11-
"e2e": "ng e2e"
11+
"e2e": "ng e2e",
12+
"coverage": "coveralls < coverage/lcov.info"
1213
},
1314
"private": true,
1415
"dependencies": {
@@ -33,6 +34,7 @@
3334
"@types/jasminewd2": "~2.0.2",
3435
"@types/node": "~6.0.60",
3536
"codelyzer": "^4.0.1",
37+
"coveralls": "^3.0.0",
3638
"cz-conventional-changelog": "^2.1.0",
3739
"jasmine-core": "~2.8.0",
3840
"jasmine-spec-reporter": "~4.2.1",

0 commit comments

Comments
 (0)