Skip to content

Commit 1dab90a

Browse files
committed
Add travis and codecov
1 parent 1050c51 commit 1dab90a

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

.travis.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
language: node_js
22
node_js:
3-
- "4"
4-
- "5"
5-
- "6"
6-
- "7"
73
- "8"
84
- "9"
95
- "10"
10-
- "11"
11-
- "latest"
6+
install:
7+
- npm install -g codecov
128
script:
13-
- yarn run test:verbose
9+
- yarn run test:coverage
10+
- codecov
1411
git:
1512
depth: 3
1613
cache:

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
[![NPM badge](https://img.shields.io/npm/v/gatsby-remark-embed-gist.svg?style=flat-square)](https://www.npmjs.com/package/gatsby-remark-embed-gist)
44
[![Travis badge](https://img.shields.io/travis/weirdpattern/gatsby-remark-embed-gist.svg?branch=master&style=flat-square)](https://travis-ci.org/weirdpattern/gatsby-remark-embed-gist)
5+
[![codecov](https://codecov.io/gh/weirdpattern/gatsby-remark-embed-gist/branch/master/graph/badge.svg)](https://codecov.io/gh/weirdpattern/gatsby-remark-embed-gist)
56

67
This plugin allows content authors to embed [Gist](https://gist.github.com/)
78
snippets.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@
170170
"verbose": false,
171171
"resetMocks": true,
172172
"resetModules": true,
173-
"collectCoverage": false,
174173
"collectCoverageFrom": [
175174
"src/*.{j,t}s{,x}",
176175
"!**/*.min.js",

0 commit comments

Comments
 (0)