From: Feross Aboukhadijeh Date: Wed, 29 Oct 2014 09:19:33 +0000 (-0700) Subject: add sauce labs testing (via zuul) X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=bdfab24403735a7262c631ac527f934b44aa0380;p=buffer.git add sauce labs testing (via zuul) --- diff --git a/.travis.yml b/.travis.yml index 1416d60..3b0ff85 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 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 diff --git a/README.md b/README.md index 08333a3..1a03c91 100644 --- 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. diff --git a/package.json b/package.json index c9055e2..3720853 100644 --- a/package.json +++ b/package.json @@ -21,9 +21,10 @@ }, "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": [ @@ -42,7 +43,10 @@ "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"