move no fallback env var to npm test script

This commit is contained in:
Chad Engler 2015-05-28 07:42:43 -07:00
parent 3922b1b4ab
commit d743332ebc
2 changed files with 1 additions and 3 deletions

View File

@ -3,8 +3,6 @@ node_js:
- "0.10" - "0.10"
addons: addons:
firefox: "34.0" firefox: "34.0"
env:
- ECCRYPTO_NO_FALLBACK=1
notifications: notifications:
email: email:
on_success: never on_success: never

View File

@ -6,7 +6,7 @@
"browser": "browser.js", "browser": "browser.js",
"scripts": { "scripts": {
"install": "node-gyp rebuild || exit 0", "install": "node-gyp rebuild || exit 0",
"test": "mocha && xvfb-run -a karma start && jshint .", "test": "ECCRYPTO_NO_FALLBACK=1 mocha && xvfb-run -a karma start && jshint .",
"m": "mocha", "m": "mocha",
"k": "xvfb-run -a karma start", "k": "xvfb-run -a karma start",
"kc": "xvfb-run -a karma start --browsers Chromium", "kc": "xvfb-run -a karma start --browsers Chromium",