diff --git a/.travis.yml b/.travis.yml index 85c1de6..f928bdf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,3 +11,7 @@ install: - npm install after_script: - gulp coveralls +env: + global: + - SAUCE_USERNAME=maraoz + - SAUCE_ACCESS_KEY=30055bf8-2def-4e6a-8edd-4adb9fd1de66 diff --git a/.zuul.yml b/.zuul.yml new file mode 100644 index 0000000..15bb7a8 --- /dev/null +++ b/.zuul.yml @@ -0,0 +1,10 @@ +ui: mocha-bdd +browsers: + - name: chrome + version: latest + platform: Windows XP + - name: ie + version: latest + platform: Windows XP +browserify: + - transform: brfs diff --git a/package.json b/package.json index ca724e5..33febb8 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "main": "index.js", "scripts": { "lint": "gulp lint", - "test": "gulp test", + "test": "gulp test && ./node_modules/zuul/bin/zuul -- test/*.js", "coverage": "gulp coverage", "build": "gulp", "postinstall": "node ./lib/errors/build.js" @@ -118,7 +118,8 @@ "plato": "^1.3.0", "run-sequence": "^1.0.2", "sinon": "^1.12.2", - "through2": "=0.6.3" + "through2": "=0.6.3", + "zuul": "1.16.3" }, "license": "MIT" } diff --git a/test/transaction/sighash.js b/test/transaction/sighash.js index e2b9c88..9ee89c8 100644 --- a/test/transaction/sighash.js +++ b/test/transaction/sighash.js @@ -2,6 +2,8 @@ var buffer = require('buffer'); +var chai = require('chai'); +var should = chai.should(); var Script = require('../../lib/script'); var Transaction = require('../../lib/transaction'); var sighash = require('../../lib/transaction/sighash');