From e44d89c2aff0b3bc4ee0e6cbb62b4dcd3d98f075 Mon Sep 17 00:00:00 2001 From: Kazuhito Yokoi Date: Wed, 3 Jun 2020 17:22:25 +0900 Subject: [PATCH] Enable automated UI testing on Travis CI --- .travis.yml | 3 +++ scripts/install-ui-test-dependencies.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a101eecb0..b5768a52d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,6 @@ sudo: false +addons: + chrome: stable language: node_js matrix: include: @@ -6,6 +8,7 @@ matrix: - node_js: "10" script: - ./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: - npm install -g istanbul coveralls - node_js: "8" diff --git a/scripts/install-ui-test-dependencies.sh b/scripts/install-ui-test-dependencies.sh index 155d2b275..c718265e3 100755 --- a/scripts/install-ui-test-dependencies.sh +++ b/scripts/install-ui-test-dependencies.sh @@ -4,6 +4,6 @@ npm install --no-save \ wdio-mocha-framework@^0.6.4 \ wdio-spec-reporter@^0.1.5 \ webdriverio@^4.14.4 \ - chromedriver@^79.0.0 \ + chromedriver \ wdio-browserstack-service@^0.1.19 \ browserstack-local@^1.4.4