fixes an issue where protractor can't find the right chrome version when running in travis, see https://github.com/angular/angular-cli/wiki/stories-continuous-integration#using-travis-ci

This commit is contained in:
Art Lowel
2018-03-05 09:57:26 +01:00
parent 791c552c8b
commit 4c45f29be5

View File

@@ -1,7 +1,11 @@
sudo: required
dist: trusty
addons:
- chrome: stable
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
language: node_js
@@ -21,6 +25,8 @@ install:
- travis_retry yarn install
script:
# Use Chromium instead of Chrome.
- export CHROME_BIN=chromium-browser
- yarn run build
- yarn run ci
- cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js