|
1 | 1 | language: node_js |
2 | 2 | sudo: false |
| 3 | +dist: trusty |
| 4 | +cache: yarn |
3 | 5 | node_js: |
4 | | - - '6.3.1' |
| 6 | + - 6 |
5 | 7 | env: |
6 | 8 | global: |
7 | 9 | - BROWSER_PROVIDER_READY_FILE=/tmp/sauce-connect-ready |
|
16 | 18 | # (password is in Valentine) |
17 | 19 | - TSD_GITHUB_TOKEN=ef474500309daea53d5991b3079159a29520a40b |
18 | 20 |
|
| 21 | +before_install: |
| 22 | + - npm install -g yarn |
19 | 23 | before_script: |
20 | 24 | - mkdir -p $LOGS_DIR |
21 | 25 | - ./scripts/sauce/sauce_connect_setup.sh |
22 | 26 | - ./scripts/sauce/sauce_connect_block.sh |
23 | 27 |
|
24 | 28 | script: |
25 | | - - npm run tslint |
| 29 | + - yarn tslint |
26 | 30 | - node_modules/.bin/gulp lint |
27 | 31 | - node_modules/.bin/gulp format:enforce |
28 | 32 | - node_modules/.bin/gulp build |
29 | 33 | - node_modules/.bin/gulp filesize |
30 | 34 | - scripts/closure/closure_compiler.sh |
31 | 35 | - node_modules/.bin/gulp promisetest |
32 | | - - npm run promisefinallytest |
33 | | - - npm run test:phantomjs-single |
| 36 | + - yarn promisefinallytest |
| 37 | + - yarn test:phantomjs-single |
34 | 38 | - node_modules/.bin/karma start karma-dist-sauce-jasmine.conf.js --single-run |
35 | 39 | - node_modules/.bin/karma start karma-build-sauce-mocha.conf.js --single-run |
36 | 40 | - node_modules/.bin/karma start karma-dist-sauce-selenium3-jasmine.conf.js --single-run |
37 | 41 | - node_modules/.bin/karma start karma-build-sauce-selenium3-mocha.conf.js --single-run |
38 | 42 | - node_modules/.bin/gulp test/node |
39 | 43 | - node simple-server.js 2>&1> server.log& |
40 | 44 | - node ./test/webdriver/test.sauce.js |
41 | | - |
42 | | - - npm run test:phantomjs-single |
| 45 | + |
| 46 | + - yarn test:phantomjs-single |
43 | 47 | - node_modules/.bin/karma start karma-dist-sauce-jasmine3.conf.js --single-run |
44 | 48 | - node_modules/.bin/gulp test/node |
0 commit comments