Fix lightweight build and browserstack test (#1092)
This commit is contained in:
parent
e16807505f
commit
ad33660da8
|
@ -126,8 +126,8 @@ module.exports = function(grunt) {
|
||||||
overwrite: true,
|
overwrite: true,
|
||||||
replacements: [
|
replacements: [
|
||||||
{
|
{
|
||||||
from: "external_indutny_elliptic: false",
|
from: "externalIndutnyElliptic: false",
|
||||||
to: "external_indutny_elliptic: true"
|
to: "externalIndutnyElliptic: true"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
@ -14,7 +14,7 @@ elif [ $OPENPGPJSTEST = "unit" ]; then
|
||||||
elif [ $OPENPGPJSTEST = "browserstack" ]; then
|
elif [ $OPENPGPJSTEST = "browserstack" ]; then
|
||||||
echo "Running OpenPGP.js browser unit tests on Browserstack."
|
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 -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
|
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
|
cat browserstack.json
|
||||||
|
|
Loading…
Reference in New Issue
Block a user