Compare commits

...

6 Commits

Author SHA1 Message Date
David Dias
52d60a7391 chore: release version v0.10.5 2016-04-14 21:57:08 +01:00
David Dias
165068d05c add circle and bump up timeout, cause travis is slow 2016-04-14 20:52:03 +01:00
David Dias
9baae15dcf Merge pull request #36 from dignifiedquire/cover
chore: Enable auto coverage reporting
2016-04-14 20:48:12 +01:00
dignifiedquire
b87524f36a chore: Enable auto coverage reporting 2016-04-14 15:25:30 +02:00
David Dias
b0484c678e chore: release version v0.10.4 2016-04-14 13:30:49 +01:00
David Dias
b6c498055f update deps 2016-04-14 12:15:50 +01:00
5 changed files with 26 additions and 9 deletions

View File

@@ -11,6 +11,7 @@ before_install:
script: script:
- npm run lint - npm run lint
- npm test - npm test
- npm run coverage
addons: addons:
firefox: 'latest' firefox: 'latest'
@@ -18,3 +19,6 @@ addons:
before_script: before_script:
- export DISPLAY=:99.0 - export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start - sh -e /etc/init.d/xvfb start
after_success:
- npm run coverage-publish

View File

@@ -5,7 +5,7 @@ libp2p-swarm JavaScript implementation
[![](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](http://ipfs.io/) [![](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](http://ipfs.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-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs)
[![Build Status](https://img.shields.io/travis/diasdavid/js-libp2p-swarm/master.svg?style=flat-square)](https://travis-ci.org/diasdavid/js-libp2p-swarm) [![Build Status](https://img.shields.io/travis/diasdavid/js-libp2p-swarm/master.svg?style=flat-square)](https://travis-ci.org/diasdavid/js-libp2p-swarm)
![](https://img.shields.io/badge/coverage-%3F-yellow.svg?style=flat-square) [![Coverage Status](https://coveralls.io/repos/github/diasdavid/js-libp2p-swarm/badge.svg?branch=master)](https://coveralls.io/github/diasdavid/js-libp2p-swarm?branch=master)
[![Dependency Status](https://david-dm.org/diasdavid/js-libp2p-swarm.svg?style=flat-square)](https://david-dm.org/ipfs/js-libp2p-swarm) [![Dependency Status](https://david-dm.org/diasdavid/js-libp2p-swarm.svg?style=flat-square)](https://david-dm.org/ipfs/js-libp2p-swarm)
[![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)

12
circle.yml Normal file
View File

@@ -0,0 +1,12 @@
machine:
node:
version: stable
dependencies:
pre:
- google-chrome --version
- wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
- sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
- sudo apt-get update
- sudo apt-get --only-upgrade install google-chrome-stable
- google-chrome --version

View File

@@ -1,6 +1,6 @@
{ {
"name": "libp2p-swarm", "name": "libp2p-swarm",
"version": "0.10.3", "version": "0.10.5",
"description": "libp2p swarm implementation in JavaScript", "description": "libp2p swarm implementation in JavaScript",
"main": "lib/index.js", "main": "lib/index.js",
"jsnext:main": "src/index.js", "jsnext:main": "src/index.js",
@@ -13,7 +13,8 @@
"release": "gulp release", "release": "gulp release",
"release-minor": "gulp release --minor", "release-minor": "gulp release --minor",
"release-major": "gulp release --major", "release-major": "gulp release --major",
"coverage": "gulp coverage" "coverage": "gulp coverage",
"coverage-publish": "aegir-coverage publish"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
@@ -39,7 +40,7 @@
"bl": "^1.1.2", "bl": "^1.1.2",
"buffer-loader": "0.0.1", "buffer-loader": "0.0.1",
"chai": "^3.5.0", "chai": "^3.5.0",
"aegir": "^2.0.0", "aegir": "^2.1.0",
"gulp": "^3.9.1", "gulp": "^3.9.1",
"istanbul": "^0.4.2", "istanbul": "^0.4.2",
"libp2p-multiplex": "^0.2.1", "libp2p-multiplex": "^0.2.1",

View File

@@ -11,7 +11,7 @@ const WebSockets = require('libp2p-websockets')
const spdy = require('libp2p-spdy') const spdy = require('libp2p-spdy')
describe('high level API - with everything mixed all together!', function () { describe('high level API - with everything mixed all together!', function () {
this.timeout(20000) this.timeout(100000)
var swarmA // tcp var swarmA // tcp
var peerA var peerA