fork-openpgpjs/.travis.yml
2021-02-09 19:25:20 +01:00

38 lines
1.2 KiB
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: "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: BROWSER='"firefox_68"' OPENPGPJSTEST='browserstack'
- node_js: "14"
env: BROWSER='"chrome_68"' OPENPGPJSTEST='browserstack' LIGHTWEIGHT=1
- node_js: "14"
env: BROWSER='"chrome_68"' OPENPGPJSTEST='browserstack'
- node_js: "14"
env: BROWSER='"safari_11_1"' OPENPGPJSTEST='browserstack'
- node_js: "14"
env: BROWSER='{"os":"ios", "os_version":"12", "device":"iPhone 8 Plus", "real_mobile":true}' OPENPGPJSTEST='browserstack'
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