Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
chore: use travis (#88)
  • Loading branch information
vasco-santos committed Feb 25, 2019
1 parent df04b5a commit 3d94973
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 14 deletions.
43 changes: 43 additions & 0 deletions .travis.yml
@@ -0,0 +1,43 @@
language: node_js
cache: npm

stages:
- check
- test
- cov

node_js:
- '10'

os:
- linux
- osx
- windows

script: npx nyc -s npm run test:node -- --bail
after_success: npx nyc report --reporter=text-lcov > coverage.lcov && npx codecov

jobs:
include:
- stage: check
script:
- npx aegir commitlint --travis
- npx aegir dep-check
- npm run lint

- stage: test
name: chrome
addons:
chrome: stable
script:
- npx aegir test -t browser -t webworker

- stage: test
name: firefox
addons:
firefox: latest
script:
- npx aegir test -t browser -t webworker -- --browsers FirefoxHeadless

notifications:
email: false
14 changes: 7 additions & 7 deletions README.md
@@ -1,14 +1,14 @@
js-libp2p-bootstrap js-libp2p-bootstrap
================= =================


[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io) [![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://protocol.ai)
[![](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](http://ipfs.io/) [![](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/)
[![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs) [![](https://img.shields.io/badge/freenode-%23libp2p-yellow.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23libp2p)
[![Coverage Status](https://coveralls.io/repos/github/libp2p/js-libp2p-railing/badge.svg?branch=master)](https://coveralls.io/github/libp2p/js-libp2p-railing?branch=master) [![](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-bootstrap.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-bootstrap)
[![Travis CI](https://travis-ci.org/libp2p/js-libp2p-railing.svg?branch=master)](https://travis-ci.org/libp2p/js-libp2p-railing) [![](https://img.shields.io/travis/libp2p/js-libp2p-bootstrap.svg?style=flat-square)](https://travis-ci.com/libp2p/js-libp2p-bootstrap)
[![Circle CI](https://circleci.com/gh/libp2p/js-libp2p-railing.svg?style=svg)](https://circleci.com/gh/libp2p/js-libp2p-railing)
[![Dependency Status](https://david-dm.org/libp2p/js-libp2p-railing.svg?style=flat-square)](https://david-dm.org/libp2p/js-libp2p-railing)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/feross/standard) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/feross/standard)
![](https://img.shields.io/badge/npm-%3E%3D6.0.0-orange.svg?style=flat-square)
![](https://img.shields.io/badge/Node.js-%3E%3D10.0.0-orange.svg?style=flat-square)


> JavaScript libp2p Implementation of the railing process of a Node through a bootstrap peer list > JavaScript libp2p Implementation of the railing process of a Node through a bootstrap peer list
Expand Down
2 changes: 0 additions & 2 deletions ci/Jenkinsfile

This file was deleted.

12 changes: 7 additions & 5 deletions package.json
Expand Up @@ -6,8 +6,10 @@
"main": "src/index.js", "main": "src/index.js",
"scripts": { "scripts": {
"lint": "aegir lint", "lint": "aegir lint",
"test": "aegir test -t node", "test": "aegir test",
"test:node": "aegir test -t node", "test:node": "aegir test -t node",
"test:browser": "aegir test -t browser",
"test:webworker": "aegir test -t webworker",
"release": "aegir release -t node", "release": "aegir release -t node",
"release-minor": "aegir release --type minor -t node", "release-minor": "aegir release --type minor -t node",
"release-major": "aegir release --type major -t node", "release-major": "aegir release --type major -t node",
Expand All @@ -26,15 +28,15 @@
"npm": ">=3.0.0" "npm": ">=3.0.0"
}, },
"devDependencies": { "devDependencies": {
"aegir": "^18.0.3", "aegir": "^18.1.1",
"chai": "^4.2.0", "chai": "^4.2.0",
"libp2p-tcp": "~0.13.0" "libp2p-tcp": "~0.13.0"
}, },
"dependencies": { "dependencies": {
"async": "^2.6.1", "async": "^2.6.2",
"debug": "^4.1.1", "debug": "^4.1.1",
"mafmt": "^6.0.4", "mafmt": "^6.0.6",
"multiaddr": "^6.0.3", "multiaddr": "^6.0.4",
"peer-id": "~0.12.2", "peer-id": "~0.12.2",
"peer-info": "~0.15.1" "peer-info": "~0.15.1"
}, },
Expand Down

0 comments on commit 3d94973

Please sign in to comment.