File tree Expand file tree Collapse file tree 3 files changed +40
-32
lines changed Expand file tree Collapse file tree 3 files changed +40
-32
lines changed Original file line number Diff line number Diff line change @@ -2,26 +2,26 @@ sudo: required
22dist : trusty
33language : node_js
44node_js :
5- - ' 8 '
5+ - ' 12 '
66notifications :
77 email : false
88addons :
99 firefox : ' 61.0'
10- sauce_connect : true
10+ # sauce_connect: true
1111branch :
1212 only :
1313 - master
1414install :
15- - npm i -g yarn
16- - travis_retry yarn install
17- - cd test; travis_retry yarn install; yarn run webdriver:update; cd -;
15+ - npm i -g yarn
16+ - travis_retry yarn install
17+ # - cd test; travis_retry yarn install; yarn run webdriver:update; cd -;
1818before_script :
19- - export DISPLAY=:99.0
20- - sh -e /etc/init.d/xvfb start
21- - jdk_switcher use oraclejdk8
22- - yarn serve > /dev/null 2>&1 &
23- - while ! curl --silent http://localhost:3000 > /dev/null 2>&1; do sleep 1; done
19+ - export DISPLAY=:99.0
20+ # - sh -e /etc/init.d/xvfb start
21+ # - jdk_switcher use oraclejdk8
22+ # - yarn serve > /dev/null 2>&1 &
23+ # - while ! curl --silent http://localhost:3000 > /dev/null 2>&1; do sleep 1; done
2424script :
25- # - yarn test:coverage
26- - yarn lint
27- - yarn test
25+ - yarn lint
26+ # - yarn test:coverage
27+ # - yarn test
Original file line number Diff line number Diff line change @@ -17,20 +17,27 @@ const server = app.listen(3000, () => {
1717 console . log ( 'Use CTRL-C to stop the server.' ) ;
1818} ) ;
1919
20+ /**
21+ * 2019-11-01: Selenium isn't being used, right now, so I've
22+ * commented it out to speed up pipeline procesing. This will
23+ * need to be re-enabled when we get browser tests up and running.
24+ */
25+
2026// Start Selenium
21- const selenium = exec ( 'yarn webdriver:start' , { cwd : CONFIG . testDir } ) ;
22- if ( selenium ) {
23- console . log ( 'selenium started' ) ;
24- }
27+ //const selenium = exec('yarn webdriver:start', { cwd: CONFIG.testDir });
28+ //if (selenium) {
29+ // console.log('selenium started');
30+ //}
31+
2532
2633// Cleanup on Exit
2734process . on ( 'SIGINT' , function ( ) {
2835 console . log ( 'Stopping...' ) ;
2936
3037 // Cleanup Selenium
31- if ( selenium ) {
32- selenium . kill ( ) ;
33- }
38+ // if (selenium) {
39+ // selenium.kill();
40+ // }
3441
3542 // Close Server
3643 server . close ( ( ) => {
Original file line number Diff line number Diff line change @@ -137,17 +137,18 @@ browserSync.init({
137137 } ,
138138
139139 // Re-transpile test files
140- {
141- match : [
142- `${ CONFIG . testDir } /**/*.ts` ,
143- `!${ CONFIG . testDir } /node_modules/**` ,
144- `!${ CONFIG . testDir } /built/**/*` ,
145- ] ,
146- fn : _ . debounce ( ( ) => {
147- const tsc = exec ( 'yarn build' , { cwd : CONFIG . testDir } ) ;
148- tsc . stdout . pipe ( process . stdout ) ;
149- tsc . stderr . pipe ( process . stderr ) ;
150- } , 1500 ) ,
151- } ,
140+ // 2019-11-01: temporarily disabled (unused; wasting cpu cycles)
141+ //{
142+ // match: [
143+ // `${CONFIG.testDir}/**/*.ts`,
144+ // `!${CONFIG.testDir}/node_modules/**`,
145+ // `!${CONFIG.testDir}/built/**/*`,
146+ // ],
147+ // fn: _.debounce(() => {
148+ // const tsc = exec('yarn build', { cwd: CONFIG.testDir });
149+ // tsc.stdout.pipe(process.stdout);
150+ // tsc.stderr.pipe(process.stderr);
151+ // }, 1500),
152+ //},
152153 ] ,
153154} ) ;
You can’t perform that action at this time.
0 commit comments