OLD | NEW |
1 language: dart | 1 language: dart |
2 dart: | 2 dart: |
3 - dev | 3 - dev |
4 cache: | 4 cache: |
5 directories: | 5 directories: |
6 - $HOME/.npm | 6 - $HOME/.npm |
7 - $HOME/.nvm | 7 - $HOME/.nvm |
8 - $HOME/.pub-cache/hosted | 8 - $HOME/.pub-cache/hosted |
9 - node_modules | 9 - node_modules |
10 before_install: | 10 before_install: |
11 - test "$ANALYZER" == stable || ./tool/override_analyzer_dependency.sh | 11 - test "$ANALYZER" == stable || ./tool/override_analyzer_dependency.sh |
12 - pub global activate dart_coveralls | 12 - pub global activate dart_coveralls |
13 - export CHROME_CANARY_BIN=`./tool/get_chrome_canary.sh` | 13 - export CHROME_CANARY_BIN=`./tool/get_chrome_canary.sh` |
14 - export DISPLAY=:99.0 | 14 - export DISPLAY=:99.0 |
15 - sh -e /etc/init.d/xvfb start | 15 - sh -e /etc/init.d/xvfb start |
16 before_script: | 16 before_script: |
17 - nvm install 5.5.0 | 17 - nvm install 5.5.0 |
18 - npm install | 18 - npm install |
19 script: | 19 script: |
20 - if [[ -z "$TEST" ]]; then ./tool/presubmit.sh ; fi | 20 - if [[ -z "$TEST" ]]; then ./tool/presubmit.sh ; fi |
21 - if [[ "$TEST" == coverage ]]; then ./tool/build_sdk.sh && ./tool/coverage.sh
; fi | 21 - if [[ "$TEST" == coverage ]]; then ./tool/build_sdk.sh && ./tool/coverage.sh
; fi |
22 - if [[ "$TEST" == transformer ]]; then ./tool/transformer_test.sh ; fi | |
23 - if [[ "$TEST" == node ]]; then ./tool/node_test.sh ; fi | 22 - if [[ "$TEST" == node ]]; then ./tool/node_test.sh ; fi |
24 env: | 23 env: |
25 - ANALYZER=stable | 24 - ANALYZER=stable |
26 - ANALYZER=master | 25 - ANALYZER=master |
27 - TEST=coverage | 26 - TEST=coverage |
28 - TEST=transformer | |
29 - TEST=node | 27 - TEST=node |
30 matrix: | 28 matrix: |
31 allow_failures: | 29 allow_failures: |
32 - env: ANALYZER=master | 30 - env: ANALYZER=master |
33 - env: TEST=transformer | |
OLD | NEW |