feat: async crypto + sauce labs + aegir 9

This commit is contained in:
Friedel Ziegelmayer 2016-11-01 12:43:56 +01:00 committed by David Dias
parent 6a3b400d4b
commit b40114c849
5 changed files with 60 additions and 7 deletions

1
.gitignore vendored
View File

@ -26,5 +26,4 @@ build/Release
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
node_modules
lib
dist

35
.travis.yml Normal file
View File

@ -0,0 +1,35 @@
sudo: false
language: node_js
matrix:
include:
- node_js: 4
env: CXX=g++-4.8
- node_js: 6
env:
- SAUCE=true
- CXX=g++-4.8
- node_js: stable
env: CXX=g++-4.8
# Make sure we have new NPM.
before_install:
- npm install -g npm
script:
- npm run lint
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
after_success:
- npm run coverage-publish
addons:
firefox: 'latest'
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8

View File

@ -3,6 +3,8 @@ interface-connection
[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io)
[![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs)
![](https://img.shields.io/badge/npm-%3E%3D3.0.0-orange.svg?style=flat-square)
![](https://img.shields.io/badge/Node.js-%3E%3D4.0.0-orange.svg?style=flat-square)
> A test suite and interface you can use to implement a connection. A connection is understood as something that offers mechanism for writing and reading data, back pressure, half and full duplex streams. This module and test suite were heavily inspired by abstract-blob-store and interface-stream-muxer.

15
circle.yml Normal file
View File

@ -0,0 +1,15 @@
machine:
node:
version: stable
test:
override:
- npm run lint
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

@ -2,8 +2,7 @@
"name": "interface-connection",
"version": "0.2.1",
"description": "A test suite and interface you can use to implement a connection interface.",
"main": "lib/index.js",
"jsnext:main": "src/index.js",
"main": "src/index.js",
"scripts": {
"lint": "aegir-lint",
"build": "aegir-build",
@ -18,7 +17,7 @@
],
"repository": {
"type": "git",
"url": "https://github.com/diasdavid/interface-connection.git"
"url": "https://github.com/libp2p/interface-connection.git"
},
"keywords": [
"IPFS"
@ -26,15 +25,18 @@
"author": "David Dias <daviddias@ipfs.io>",
"license": "MIT",
"bugs": {
"url": "https://github.com/diasdavid/interface-connection/issues"
"url": "https://github.com/libp2p/interface-connection/issues"
},
"homepage": "https://github.com/diasdavid/interface-connection",
"homepage": "https://github.com/libp2p/interface-connection",
"dependencies": {
"timed-tape": "^0.1.1",
"pull-defer": "^0.2.2"
},
"devDependencies": {
"aegir": "^8.0.1"
"aegir": "^9.0.0"
},
"engines": {
"node": ">=4.0.0"
},
"contributors": [
"David Dias <daviddias.p@gmail.com>",