add sauce labs tests

This commit is contained in:
Feross Aboukhadijeh 2015-12-02 18:26:44 -08:00
parent 9e819ba3fe
commit 5e87a38157
5 changed files with 36 additions and 28 deletions

View File

@ -1,4 +1,7 @@
language: node_js
node_js:
- "0.11"
- "0.10"
- node
env:
global:
- secure: Htsm8eeR11ph6lbAOLPbFfJGou8eDPQMfLXUBx6c9+QgrbBKHM1RKscJNvSi1AM1rOOKSk1pCZwqVR2n+9kQs30MxZppyIngiy5Jcz7/b5FDvnm/JkNzq+7sEeGZzRK11XmFkWuYRK9TvUaDuuo/NOc1NJc0ics/gzrjNLcT1tw=
- secure: FufpUBE/caYoQ5MfsIWFYVM0C4gj+4OSaqu6W8exucFDB68zTmO0te11tOwg98PhFnSaDbJ7h3gWXYGTpbFUErkeMBRMTsNjYYoQhcWWjzD4yo5iIfh215TJ5vhE4sIeCCi0TxHgbJkF3KthsUyaOdy/Q3sFISZ/VQSPFBDdmbU=

18
.zuul.yml Normal file
View File

@ -0,0 +1,18 @@
ui: tape
browsers:
- name: chrome
version: latest
- name: firefox
version: latest
- name: safari
version: latest
- name: ie
version: latest
- name: microsoftedge
version: latest
- name: iphone
version: latest
- name: ipad
version: latest
- name: android
version: latest

View File

@ -9,7 +9,7 @@
### BitTorrent Extension for Peers to Send Metadata Files (BEP 9)
[![browser support](https://ci.testling.com/feross/ut_metadata.png)](https://ci.testling.com/feross/ut_metadata)
[![Sauce Test Status](https://saucelabs.com/browser-matrix/bittorrent-swarm.svg)](https://saucelabs.com/u/bittorrent-swarm)
Node.js implementation of the [Extension for Peers to Send Metadata Files (BEP 9)](http://www.bittorrent.org/beps/bep_0009.html). Use with [bittorrent-protocol](https://github.com/feross/bittorrent-protocol).

View File

@ -24,16 +24,16 @@
"tape": "^4.0.0"
},
"keywords": [
"torrent",
"bittorrent",
"ut_metadata",
"bep_0009",
"bep 9",
"bep",
"9",
"Extension for Peers to Send Metadata Files",
"bep",
"bep 9",
"bep_0009",
"bittorrent",
"metadata",
"p2p"
"p2p",
"torrent",
"ut_metadata"
],
"license": "MIT",
"main": "index.js",
@ -42,16 +42,9 @@
"url": "git://github.com/feross/ut_metadata.git"
},
"scripts": {
"test": "standard && tape test/*.js"
},
"testling": {
"files": "test/*.js",
"browsers": [
"ie/10..latest",
"chrome/25..latest",
"firefox/20..latest",
"safari/6..latest",
"opera/15.0..latest"
]
"test": "standard && npm run test-node && npm run test-browser",
"test-browser": "zuul -- test/*.js",
"test-browser-local": "zuul --local -- test/*.js",
"test-node": "tape test/*.js"
}
}

View File

@ -1,13 +1,7 @@
{
"name": "test",
"version": "0.0.0",
"author": "Feross Aboukhadijeh <feross@feross.org> (http://feross.org/)",
"browserify": {
"transform": ["brfs"]
},
"license": "MIT",
"main": "index.js",
"scripts": {
"test": "tape test/*.js"
}
}
}