Skip to content
This repository was archived by the owner on Jun 17, 2021. It is now read-only.

Commit 0ddaed8

Browse files
holgerd77s1na
authored andcommitted
CI: switch to chrome-headless on Travis (#221)
1 parent 3b10850 commit 0ddaed8

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,12 @@ node_js:
55
- "11"
66
- "12"
77
addons:
8-
firefox: "latest"
8+
chrome: stable
99
apt:
1010
sources:
1111
- ubuntu-toolchain-r-test
1212
packages:
1313
- g++-4.8
14-
before_install:
15-
- sh -e /etc/init.d/xvfb start
1614
env:
1715
global:
1816
- DISPLAY=:99.0

karma.conf.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ module.exports = function (config) {
3737
enabled: true,
3838
usePhantomJS: false,
3939
postDetection: function (availableBrowser) {
40-
if (process.env.TRAVIS) {
41-
return ['Firefox']
42-
}
4340
if (availableBrowser.includes('Chrome')) {
4441
return ['ChromeHeadless']
4542
}

0 commit comments

Comments
 (0)