Readme, coverage, testing (#975)

* clean up readme badges

* pin 10, remove stable

* fix coveralls reporting
This commit is contained in:
Bryan Kendall
2018-10-25 21:23:03 -07:00
committed by GitHub
parent effe27e801
commit b18c44c8d1
2 changed files with 12 additions and 5 deletions

View File

@@ -2,10 +2,10 @@ language: node_js
node_js:
- '6'
- '8'
- stable
- '10'
sudo: false
after_script:
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
- nyc report --reporter=text-lcov | coveralls
cache:
directories:
- node_modules

View File

@@ -1,4 +1,4 @@
# Firebase CLI [![Build Status](https://travis-ci.org/firebase/firebase-tools.svg?branch=master)](https://travis-ci.org/firebase/firebase-tools) [![Coverage Status](https://img.shields.io/coveralls/firebase/firebase-tools.svg?branch=master&style=flat)](https://coveralls.io/r/firebase/firebase-tools) [![Node Version](https://img.shields.io/node/v/firebase-tools.svg)](https://www.npmjs.com/package/firebase-tools) [![NPM version](https://badge.fury.io/js/firebase-tools.svg)](http://badge.fury.io/js/firebase-tools)
# Firebase CLI [![Build Status][travis-badge]][travis-ci] [![Coverage Status][coveralls-badge]][coveralls] [![Node Version][node-badge]][npm] [![NPM version][npm-badge]][npm]
These are the Firebase Command Line Interface (CLI) Tools. They can be used to:
@@ -9,7 +9,6 @@ These are the Firebase Command Line Interface (CLI) Tools. They can be used to:
To get started with the Firebase CLI, read the full list of commands below or check out the [hosting-specific CLI documentation](https://firebase.google.com/docs/hosting/quickstart).
## Installation
To install the Firebase CLI, you first need to [sign up for a Firebase account](https://firebase.google.com/).
@@ -25,7 +24,6 @@ npm install -g firebase-tools
This will provide you with the globally accessible `firebase` command.
## Commands
**The command `firebase --help` lists the available commands and `firebase <command> --help` shows more details for an individual command.**
@@ -148,3 +146,12 @@ client.deploy({
// handle error
});
```
[travis-ci]: https://travis-ci.org/firebase/firebase-tools
[coveralls]: https://coveralls.io/r/firebase/firebase-tools
[npm]: https://www.npmjs.com/package/firebase-tools
[travis-badge]: https://img.shields.io/travis/firebase/firebase-tools/master.svg
[coveralls-badge]: https://img.shields.io/coveralls/firebase/firebase-tools.svg?branch=master&style=flat
[node-badge]: https://img.shields.io/node/v/firebase-tools.svg
[npm-badge]: https://img.shields.io/npm/v/firebase-tools.svg