File tree 3 files changed +12
-2
lines changed
3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -11,3 +11,7 @@ notifications:
11
11
on_success : always
12
12
on_failure : always
13
13
on_start : false
14
+ before_install :
15
+ - export CHROME_BIN=chromium-browser
16
+ - export DISPLAY=:99.0
17
+ - sh -e /etc/init.d/xvfb start
Original file line number Diff line number Diff line change @@ -43,7 +43,14 @@ module.exports = function (config) {
43
43
44
44
autoWatch : true ,
45
45
46
- browsers : [ isCI ? 'PhantomJS' : 'Chrome' ] ,
46
+ browsers : [ isCI ? 'ChromeTravisCI' : 'Chrome' ] ,
47
+
48
+ customLaunchers : {
49
+ ChromeTravisCI : {
50
+ base : 'Chrome' ,
51
+ flags : [ '--no-sandbox' ]
52
+ }
53
+ } ,
47
54
48
55
captureTimeout : 60000 ,
49
56
browserNoActivityTimeout : 45000 ,
Original file line number Diff line number Diff line change 62
62
"karma-firefox-launcher" : " ~0.1.3" ,
63
63
"karma-mocha" : " ~0.1.1" ,
64
64
"karma-mocha-reporter" : " ^1.0.2" ,
65
- "karma-phantomjs-launcher" : " ~0.1.1" ,
66
65
"karma-sinon" : " ^1.0.3" ,
67
66
"karma-sourcemap-loader" : " ^0.3.4" ,
68
67
"karma-webpack" : " ^1.5.0" ,
You can’t perform that action at this time.
0 commit comments