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# Travis CI config
22# http://docs.travis-ci.com/user/languages/javascript-with-nodejs/
3+ # https://docs.travis-ci.com/user/customizing-the-build/
4+ # https://docs.travis-ci.com/user/migrating-from-legacy/
35
46dist : trusty
5- sudo : required # TEMPORARY HACK (see https://github.com/travis-ci/travis-ci/issues/8836)
7+ sudo : required # Required for headless Chrome
68language : node_js
79
810addons :
@@ -11,17 +13,16 @@ addons:
1113
1214matrix :
1315 include :
14- # Local Browsers
16+ # Node 10 + Browser tests
1517 - node_js : 10
1618 env : KARMA=true
1719
18- # Sauce Labs
19- - node_js : 10
20+ # Node 8 + SauceLabs tests
21+ - node_js : 8
2022 env : KARMA=true SAUCE=true
2123
22- # Node
24+ # Node 6 tests
2325 - node_js : 6
24- - node_js : 8
2526
2627before_script :
2728 # Setup a virtual display for browser testing
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ function configureLocalBrowsers (config) {
9595 config . browsers = [ 'Firefox' , 'Chrome' , 'Safari' ] ;
9696 }
9797 else if ( isLinux ) {
98- config . browsers = [ 'Firefox' ] ;
98+ config . browsers = [ 'Firefox' , 'ChromeHeadless' ] ;
9999 }
100100 else if ( isWindows ) {
101101 config . browsers = [ 'Firefox' , 'Chrome' , 'IE' , 'Edge' ] ;
@@ -158,6 +158,7 @@ function configureSauceLabs (config) {
158158 config . browsers = Object . keys ( config . customLaunchers ) ;
159159 config . concurrency = 1 ;
160160 config . captureTimeout = 60000 ;
161+ config . browserDisconnectTolerance = 5 ,
161162 config . browserDisconnectTimeout = 60000 ;
162163 config . browserNoActivityTimeout = 60000 ;
163164 // config.logLevel = 'debug';
You can’t perform that action at this time.
0 commit comments