File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,3 +11,7 @@ notifications:
1111 on_success : always
1212 on_failure : always
1313 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) {
4343
4444 autoWatch : true ,
4545
46- browsers : [ isCI ? 'PhantomJS' : 'Chrome' ] ,
46+ browsers : [ isCI ? 'ChromeTravisCI' : 'Chrome' ] ,
47+
48+ customLaunchers : {
49+ ChromeTravisCI : {
50+ base : 'Chrome' ,
51+ flags : [ '--no-sandbox' ]
52+ }
53+ } ,
4754
4855 captureTimeout : 60000 ,
4956 browserNoActivityTimeout : 45000 ,
Original file line number Diff line number Diff line change 6262 "karma-firefox-launcher" : " ~0.1.3" ,
6363 "karma-mocha" : " ~0.1.1" ,
6464 "karma-mocha-reporter" : " ^1.0.2" ,
65- "karma-phantomjs-launcher" : " ~0.1.1" ,
6665 "karma-sinon" : " ^1.0.3" ,
6766 "karma-sourcemap-loader" : " ^0.3.4" ,
6867 "karma-webpack" : " ^1.5.0" ,
You can’t perform that action at this time.
0 commit comments