mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 15:03:07 +00:00
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:
@@ -1,7 +1,11 @@
|
|||||||
sudo: required
|
sudo: required
|
||||||
dist: trusty
|
dist: trusty
|
||||||
addons:
|
addons:
|
||||||
- chrome: stable
|
apt:
|
||||||
|
sources:
|
||||||
|
- google-chrome
|
||||||
|
packages:
|
||||||
|
- google-chrome-stable
|
||||||
|
|
||||||
language: node_js
|
language: node_js
|
||||||
|
|
||||||
@@ -21,6 +25,8 @@ install:
|
|||||||
- travis_retry yarn install
|
- travis_retry yarn install
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
# Use Chromium instead of Chrome.
|
||||||
|
- export CHROME_BIN=chromium-browser
|
||||||
- yarn run build
|
- yarn run build
|
||||||
- yarn run ci
|
- yarn run ci
|
||||||
- cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
|
- cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
|
||||||
|
Reference in New Issue
Block a user