Skip to content

Commit

Permalink
Add code coverage integration.
Browse files Browse the repository at this point in the history
  • Loading branch information
trekhleb committed Jun 29, 2019
1 parent c85a201 commit 3d5b07b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ language: node_js
node_js:
- "11"
install:
- npm install -g codecov
- npm install
script:
- npm run ci
- codecov
notifications:
email: false
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![Build Status](https://travis-ci.org/trekhleb/use-position.svg?branch=master)](https://travis-ci.org/trekhleb/use-position)
[![npm version](https://badge.fury.io/js/use-position.svg)](https://badge.fury.io/js/use-position)
[![codecov](https://codecov.io/gh/trekhleb/use-position/branch/master/graph/badge.svg)](https://codecov.io/gh/trekhleb/use-position)

React hook `usePosition()` allows you to fetch client's browser geolocation and/or subscribe to all further geolocation changes.

Expand Down

0 comments on commit 3d5b07b

Please sign in to comment.