mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 06:53:03 +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
|
||||
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
|
||||
|
Reference in New Issue
Block a user