Skip to content
This repository was archived by the owner on Jul 21, 2023. It is now read-only.

Commit f89f433

Browse files
authoredMar 22, 2019
chore: use travis ci (#79)
* chore: use travis and update badges * chore: update package.json files and pre push License: MIT Signed-off-by: Jacob Heun <jacobheun@gmail.com> * chore: add missing debug module License: MIT Signed-off-by: Jacob Heun <jacobheun@gmail.com>
1 parent c4e90b4 commit f89f433

File tree

5 files changed

+41
-39
lines changed

5 files changed

+41
-39
lines changed
 

‎.npmignore

-29
This file was deleted.

‎.travis.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
language: node_js
2+
cache: npm
3+
stages:
4+
- check
5+
- test
6+
- cov
7+
8+
node_js:
9+
- '10'
10+
11+
os:
12+
- linux
13+
- osx
14+
15+
script: npx nyc -s npm run test:node -- --bail
16+
after_success: npx nyc report --reporter=text-lcov > coverage.lcov && npx codecov
17+
18+
jobs:
19+
include:
20+
- os: windows
21+
cache: false
22+
23+
- stage: check
24+
script:
25+
- npx aegir commitlint --travis
26+
- npx aegir dep-check
27+
- npm run lint
28+
29+
notifications:
30+
email: false

‎README.md

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
libp2p-mdns JavaScript implementation
22
=====================================
33

4-
[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io)
5-
[![](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](http://ipfs.io/)
6-
[![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs)
7-
[![Coverage Status](https://coveralls.io/repos/github/libp2p/js-libp2p-mdns/badge.svg?branch=master)](https://coveralls.io/github/libp2p/js-libp2p-mdns?branch=master)
8-
[![Travis CI](https://travis-ci.org/libp2p/js-libp2p-mdns.svg?branch=master)](https://travis-ci.org/libp2p/js-libp2p-mdns)
9-
[![Circle CI](https://circleci.com/gh/libp2p/js-libp2p-mdns.svg?style=svg)](https://circleci.com/gh/libp2p/js-libp2p-mdns)
4+
[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://protocol.ai)
5+
[![](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/)
6+
[![](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p)
7+
[![](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-mdns.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-mdns)
8+
[![](https://img.shields.io/travis/libp2p/js-libp2p-mdns.svg?style=flat-square)](https://travis-ci.com/libp2p/js-libp2p-mdns)
109
[![Dependency Status](https://david-dm.org/libp2p/js-libp2p-mdns.svg?style=flat-square)](https://david-dm.org/libp2p/js-libp2p-mdns)
1110
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/feross/standard)
1211

‎ci/Jenkinsfile

-2
This file was deleted.

‎package.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
"description": "Node.js libp2p mDNS discovery implementation for peer discovery",
55
"leadMaintainer": "Jacob Heun <jacobheun@gmail.com>",
66
"main": "src/index.js",
7+
"files": [
8+
"dist",
9+
"src"
10+
],
711
"scripts": {
812
"lint": "aegir lint",
913
"coverage": "aegir coverage",
@@ -15,8 +19,7 @@
1519
"coverage-publish": "aegir coverage publish"
1620
},
1721
"pre-push": [
18-
"lint",
19-
"test"
22+
"lint"
2023
],
2124
"repository": {
2225
"type": "git",
@@ -37,6 +40,7 @@
3740
"dirty-chai": "^2.0.1"
3841
},
3942
"dependencies": {
43+
"debug": "^4.1.1",
4044
"libp2p-tcp": "~0.13.0",
4145
"multiaddr": "^6.0.2",
4246
"multicast-dns": "^7.2.0",

0 commit comments

Comments
 (0)
This repository has been archived.