From 5e87a38157e36eddd0292c6d0163bb7f8ab78009 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Wed, 2 Dec 2015 18:26:44 -0800 Subject: [PATCH] add sauce labs tests --- .travis.yml | 7 +++++-- .zuul.yml | 18 ++++++++++++++++++ README.md | 2 +- package.json | 29 +++++++++++------------------ test/package.json | 8 +------- 5 files changed, 36 insertions(+), 28 deletions(-) create mode 100644 .zuul.yml diff --git a/.travis.yml b/.travis.yml index 2083806..9896c96 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,7 @@ language: node_js node_js: - - "0.11" - - "0.10" \ No newline at end of file +- node +env: + global: + - secure: Htsm8eeR11ph6lbAOLPbFfJGou8eDPQMfLXUBx6c9+QgrbBKHM1RKscJNvSi1AM1rOOKSk1pCZwqVR2n+9kQs30MxZppyIngiy5Jcz7/b5FDvnm/JkNzq+7sEeGZzRK11XmFkWuYRK9TvUaDuuo/NOc1NJc0ics/gzrjNLcT1tw= + - secure: FufpUBE/caYoQ5MfsIWFYVM0C4gj+4OSaqu6W8exucFDB68zTmO0te11tOwg98PhFnSaDbJ7h3gWXYGTpbFUErkeMBRMTsNjYYoQhcWWjzD4yo5iIfh215TJ5vhE4sIeCCi0TxHgbJkF3KthsUyaOdy/Q3sFISZ/VQSPFBDdmbU= diff --git a/.zuul.yml b/.zuul.yml new file mode 100644 index 0000000..68d6253 --- /dev/null +++ b/.zuul.yml @@ -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 diff --git a/README.md b/README.md index c1e8118..aaaf9f1 100644 --- a/README.md +++ b/README.md @@ -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). diff --git a/package.json b/package.json index 1f3d489..4047656 100644 --- a/package.json +++ b/package.json @@ -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" } } diff --git a/test/package.json b/test/package.json index ac999e1..3464324 100644 --- a/test/package.json +++ b/test/package.json @@ -1,13 +1,7 @@ { "name": "test", "version": "0.0.0", - "author": "Feross Aboukhadijeh (http://feross.org/)", "browserify": { "transform": ["brfs"] - }, - "license": "MIT", - "main": "index.js", - "scripts": { - "test": "tape test/*.js" } -} \ No newline at end of file +}