]> zoso.dev Git - buffer.git/commitdiff
add sauce labs testing (via zuul)
authorFeross Aboukhadijeh <feross@feross.org>
Wed, 29 Oct 2014 09:19:33 +0000 (02:19 -0700)
committerFeross Aboukhadijeh <feross@feross.org>
Wed, 29 Oct 2014 09:19:33 +0000 (02:19 -0700)
.travis.yml
.zuul.yml [new file with mode: 0644]
README.md
package.json

index 1416d607cd945658a6903c68a814bf7e83fc6772..3b0ff8547c3d6164740c1f2d21e03ad3583e0181 100644 (file)
@@ -1,4 +1,7 @@
 language: node_js
 node_js:
-  - "0.10"
-  - "0.11"
\ No newline at end of file
+  - '0.11'
+env:
+  global:
+  - secure: AUsK+8fYSpwIMHcVt8Mu9SpG9RPHp4XDAwCQfpU3d5U65q8OVVC6C+XjvnNmEd2PoEJRHem8ZXEyRVfGM1sttKZLZP70TEKZOpOiRQnZiTQCAJ92TfGsDj/F4LoWSjUZUpfeg9b3iSp8G5dVw3+q9QZPIu6eykASK6bfcg//Cyg=
+  - secure: eQBKJWu7XbhAN4ZvOOhMenC0IPpoYj+wZVVzzsLwUppfJqlrHV0CUW8rJdvZNiaGhYhoyHTnAcynpTE5kZfg3XjevOvF8PGY5wUYCki9BI+rp+pvVPZE/DNUAQpFR2gd2nxMJ4kYv7GVb6i/DfuqJa0h8IuY4zcMuKWwbQd3Az8=
diff --git a/.zuul.yml b/.zuul.yml
new file mode 100644 (file)
index 0000000..9647bef
--- /dev/null
+++ b/.zuul.yml
@@ -0,0 +1,18 @@
+ui: tape
+browsers:
+  - name: chrome
+    version: 26..latest
+  - name: firefox
+    version: 3.0..latest
+  - name: safari
+    version: 5..latest
+  - name: ie
+    version: 6..latest
+  - name: opera
+    version: 11.latest
+  - name: iphone
+    version: 4.3..latest
+  - name: ipad
+    version: 4.3..latest
+  - name: android
+    version: 4.0..latest
index 08333a32bf2275e5625ae75307f79a99e85d8917..1a03c915487636063d101369785611d610cc642c 100644 (file)
--- a/README.md
+++ b/README.md
@@ -2,6 +2,8 @@
 
 #### The buffer module from [node.js](http://nodejs.org/), for the browser.
 
+[![Sauce Test Status](https://saucelabs.com/browser-matrix/buffer.svg)](https://saucelabs.com/u/buffer)
+
 [![testling badge](https://ci.testling.com/feross/buffer.png)](https://ci.testling.com/feross/buffer)
 
 With [browserify](http://browserify.org), simply `require('buffer')` or use the `Buffer` global and you will get this module.
index c9055e2e154eef70e35012d0753fc3e1956ecea2..3720853da8cfc972757edd27ec6b4b8613acff75 100644 (file)
   },
   "devDependencies": {
     "benchmark": "^1.0.0",
-    "browserify": "^5.11.1",
+    "browserify": "^6.2.0",
     "is-nan": "^1.0.1",
-    "tape": "^2.14.0"
+    "tape": "^3.0.1",
+    "zuul": "^1.12.0"
   },
   "homepage": "https://github.com/feross/buffer",
   "keywords": [
     "url": "git://github.com/feross/buffer.git"
   },
   "scripts": {
-    "test": "tape test/*.js && OBJECT_IMPL=true tape test/*.js",
+    "test": "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 && OBJECT_IMPL=true tape test/*.js",
     "perf": "browserify --debug perf/bracket-notation.js > perf/bundle.js && open perf/index.html",
     "perf-node": "node perf/bracket-notation.js && node perf/concat.js && node perf/copy-big.js && node perf/copy.js && node perf/new-big.js && node perf/new.js && node perf/readDoubleBE.js && node perf/readFloatBE.js && node perf/readUInt32LE.js && node perf/slice.js && node perf/writeFloatBE.js",
     "size": "browserify -r ./ | uglifyjs -c -m | gzip | wc -c"