1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Enable automated UI testing on Travis CI

This commit is contained in:
Kazuhito Yokoi 2020-06-03 17:22:25 +09:00
parent c6c42740c5
commit e44d89c2af
2 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,6 @@
sudo: false sudo: false
addons:
chrome: stable
language: node_js language: node_js
matrix: matrix:
include: include:
@ -6,6 +8,7 @@ matrix:
- node_js: "10" - node_js: "10"
script: script:
- ./node_modules/.bin/grunt && istanbul report text && ( cat coverage/lcov.info | $(npm get prefix)/bin/coveralls || true ) && rm -rf coverage - ./node_modules/.bin/grunt && istanbul report text && ( cat coverage/lcov.info | $(npm get prefix)/bin/coveralls || true ) && rm -rf coverage
- scripts/install-ui-test-dependencies.sh && grunt test-ui
before_script: before_script:
- npm install -g istanbul coveralls - npm install -g istanbul coveralls
- node_js: "8" - node_js: "8"

View File

@ -4,6 +4,6 @@ npm install --no-save \
wdio-mocha-framework@^0.6.4 \ wdio-mocha-framework@^0.6.4 \
wdio-spec-reporter@^0.1.5 \ wdio-spec-reporter@^0.1.5 \
webdriverio@^4.14.4 \ webdriverio@^4.14.4 \
chromedriver@^79.0.0 \ chromedriver \
wdio-browserstack-service@^0.1.19 \ wdio-browserstack-service@^0.1.19 \
browserstack-local@^1.4.4 browserstack-local@^1.4.4