CI: for lightweight build, only run tests tagged 'lightweight'
This commit is contained in:
parent
f3b16386dc
commit
8457639004
|
@ -15,7 +15,7 @@ elif [ $OPENPGPJSTEST = "browserstack" ]; then
|
|||
echo "Running OpenPGP.js browser unit tests on Browserstack."
|
||||
|
||||
echo -n "Using config: "
|
||||
echo "{\"browsers\": [$BROWSER], \"test_framework\": \"mocha\", \"test_path\": [\"test/unittests.html?ci=true${LIGHTWEIGHT+&lightweight=true}\"], \"timeout\": 1800, \"exit_with_fail\": true, \"project\": \"openpgpjs/${TRAVIS_EVENT_TYPE:-push}${LIGHTWEIGHT:+/lightweight}\"}" > browserstack.json
|
||||
echo "{\"browsers\": [$BROWSER], \"test_framework\": \"mocha\", \"test_path\": [\"test/unittests.html?ci=true${LIGHTWEIGHT+&lightweight=true&grep=lightweight}\"], \"timeout\": 1800, \"exit_with_fail\": true, \"project\": \"openpgpjs/${TRAVIS_EVENT_TYPE:-push}${LIGHTWEIGHT:+/lightweight}\"}" > browserstack.json
|
||||
cat browserstack.json
|
||||
|
||||
result=0
|
||||
|
|
Loading…
Reference in New Issue
Block a user