diff --git a/Gruntfile.js b/Gruntfile.js index 4c7feb23..d2d6c2dc 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -126,8 +126,8 @@ module.exports = function(grunt) { overwrite: true, replacements: [ { - from: "external_indutny_elliptic: false", - to: "external_indutny_elliptic: true" + from: "externalIndutnyElliptic: false", + to: "externalIndutnyElliptic: true" } ] }, diff --git a/travis.sh b/travis.sh index 9e4017f8..1da1ef95 100755 --- a/travis.sh +++ b/travis.sh @@ -14,7 +14,7 @@ elif [ $OPENPGPJSTEST = "unit" ]; then elif [ $OPENPGPJSTEST = "browserstack" ]; then echo "Running OpenPGP.js browser unit tests on Browserstack." - grunt build browserify:unittests copy:browsertest --compat=$COMPAT + grunt build browserify:unittests copy:browsertest --compat=$COMPAT --lightweight=$LIGHTWEIGHT echo -n "Using config: " echo "{\"browsers\": [$BROWSER], \"test_framework\": \"mocha\", \"test_path\": [\"test/unittests.html?ci=true\"], \"timeout\": 1800, \"exit_with_fail\": true, \"project\": \"openpgpjs/${TRAVIS_EVENT_TYPE:-push}${COMPAT:+/compat}${LIGHTWEIGHT:+/lightweight}\"}" > browserstack.json cat browserstack.json