File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 11sudo : required
22language : node_js
3+ branches :
4+ only :
5+ - master
36matrix :
47 include :
58 - node_js : " 6.9.1"
69 - node_js : " 8"
10+ if : head_branch IS blank AND branch = master
711 - node_js : " 9"
12+ if : head_branch IS blank AND branch = master
813dist : trusty
914cache :
1015 yarn : true
@@ -13,10 +18,6 @@ cache:
1318 - lighthouse-extension/node_modules
1419 - lighthouse-viewer/node_modules
1520 - /home/travis/.rvm/gems/
16- before_install :
17- # TODO: remove after yarn is 1.0+ on Travis: https://github.com/travis-ci/travis-ci/issues/7566
18- - curl -o- -L https://yarnpkg.com/install.sh | bash
19- - export PATH="$HOME/.yarn/bin:$PATH"
2021install :
2122 - yarn
2223 # travis can't handle the parallel install (without caches)
@@ -27,6 +28,8 @@ before_script:
2728 - sh -e /etc/init.d/xvfb start
2829 - yarn build-all
2930script :
31+ - echo $TRAVIS_EVENT_TYPE;
32+ - echo $TRAVIS_BRANCH
3033 - yarn bundlesize
3134 - yarn lint
3235 - yarn unit
You can’t perform that action at this time.
0 commit comments