fork-openpgpjs/.travis.yml
Daniel Huigens 01be7b7ec1
CI: Switch to karma for browser tests (#1233)
This should fix the false positives (failures to detect errors).
2021-02-12 13:29:04 +01:00

34 lines
1007 B
YAML

language: node_js
cache: npm
addons:
code_climate:
repo_token: $CODECLIMATE_REPO_TOKEN
matrix:
include:
- node_js: "14"
env: OPENPGP_NODE_JS='14' OPENPGPJSTEST='lint'
- node_js: "14"
env: OPENPGP_NODE_JS='14' OPENPGPJSTEST='test-type-definitions'
- node_js: "10"
env: OPENPGP_NODE_JS='10' OPENPGPJSTEST='unit'
- node_js: "12"
env: OPENPGP_NODE_JS='12' OPENPGPJSTEST='unit'
- node_js: "14"
env: OPENPGP_NODE_JS='14' OPENPGPJSTEST='unit'
- node_js: "14"
env: OPENPGP_NODE_JS='14' OPENPGPJSTEST='unit' LIGHTWEIGHT=1
- node_js: "14"
env: OPENPGP_NODE_JS='14' OPENPGPJSTEST='browserstack'
- node_js: "14"
env: OPENPGP_NODE_JS='14' OPENPGPJSTEST='browserstack' LIGHTWEIGHT=1
before_script:
- npm install -g codeclimate-test-reporter browserstack-runner
script:
- $TRAVIS_BUILD_DIR/travis.sh
install: npm install
env:
global:
- BROWSERSTACK_USERNAME=danielhuigens2
- BROWSERSTACK_KEY=aW2q1ms393QRorwBnfmW