set up code coverage (#1140)

* set up code coverage

* add coverage badge
This commit is contained in:
Kevin Barabash
2018-02-05 09:33:31 -05:00
committed by GitHub
parent 2aee354ca2
commit f977c25d0d
2 changed files with 6 additions and 2 deletions

View File

@@ -11,6 +11,9 @@ before_script:
- docker pull selenium/standalone-firefox:2.48.2
- docker pull selenium/standalone-chrome:2.48.2
- docker images --no-trunc
install:
- npm install -g codecov
script:
- npm test
- npm run coverage && codecov
- dockers/Screenshotter/screenshotter.sh --verify

View File

@@ -1,5 +1,6 @@
# [<img src="https://khan.github.io/KaTeX/katex-logo.svg" width="130" alt="KaTeX">](https://khan.github.io/KaTeX/) [![Build Status](https://travis-ci.org/Khan/KaTeX.svg?branch=master)](https://travis-ci.org/Khan/KaTeX)
# [<img src="https://khan.github.io/KaTeX/katex-logo.svg" width="130" alt="KaTeX">](https://khan.github.io/KaTeX/)
[![Build Status](https://travis-ci.org/Khan/KaTeX.svg?branch=master)](https://travis-ci.org/Khan/KaTeX)
[![codecov](https://codecov.io/gh/Khan/KaTeX/branch/master/graph/badge.svg)](https://codecov.io/gh/Khan/KaTeX)
[![Join the chat at https://gitter.im/Khan/KaTeX](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/Khan/KaTeX?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
KaTeX is a fast, easy-to-use JavaScript library for TeX math rendering on the web.