Skip to content

Commit 295b098

Browse files
committed
Put local Chrome back into Travis tests.
1 parent a94cb1c commit 295b098

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.travis.yml

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ env:
88
cache:
99
directories:
1010
- node_modules
11+
before_install:
12+
- export CHROME_BIN=chromium-browser
13+
- export DISPLAY=:99.0
14+
- sh -e /etc/init.d/xvfb start
1115
after_success:
1216
- cat ./coverage/lcov.info | ./node_modules/codecov.io/bin/codecov.io.js
1317
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js

karma.conf.js

+6
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ module.exports = function (config) {
5656
os_version: '10',
5757
browser: 'ie',
5858
browser_version: '11.0'
59+
},
60+
ChromeCi: {
61+
base: 'Chrome',
62+
flags: [ '--no-sandbox' ]
5963
}
6064
}
6165

@@ -130,6 +134,8 @@ module.exports = function (config) {
130134
if (process.env.TRAVIS) {
131135
var buildLabel = 'TRAVIS #' + process.env.TRAVIS_BUILD_NUMBER + ' (' + process.env.TRAVIS_BUILD_ID + ')'
132136

137+
config.browsers.unshift('ChromeCi')
138+
133139
config.browserStack = {
134140
username: process.env.BROWSER_STACK_USERNAME,
135141
accessKey: process.env.BROWSER_STACK_ACCESS_KEY,

0 commit comments

Comments
 (0)