OLD | NEW |
1 language: dart | 1 language: dart |
2 sudo: required | 2 sudo: required |
3 dist: trusty | 3 dist: trusty |
4 dart: | 4 dart: |
5 - dev | 5 - dev |
6 cache: | 6 cache: |
7 directories: | 7 directories: |
8 - $HOME/.npm | 8 - $HOME/.npm |
9 - $HOME/.nvm | 9 - $HOME/.nvm |
10 - $HOME/.pub-cache/hosted | 10 - $HOME/.pub-cache/hosted |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 - sh -e /etc/init.d/xvfb start | 64 - sh -e /etc/init.d/xvfb start |
65 install: | 65 install: |
66 # Empty to suppress default pub get behavior | 66 # Empty to suppress default pub get behavior |
67 before_script: | 67 before_script: |
68 # Node modules used by DDC | 68 # Node modules used by DDC |
69 - nvm install 6.9.1 | 69 - nvm install 6.9.1 |
70 - npm install | 70 - npm install |
71 script: | 71 script: |
72 # Run DDC tests | 72 # Run DDC tests |
73 - if [[ -z "$TEST" ]]; then ./tool/presubmit.sh ; fi | 73 - if [[ -z "$TEST" ]]; then ./tool/presubmit.sh ; fi |
| 74 - if [[ "$TEST" == sdk ]]; then ./tool/build_sdk.sh && git diff --exit-code ;
fi |
74 - if [[ "$TEST" == coverage ]]; then ./tool/build_sdk.sh && ./tool/coverage.sh
; fi | 75 - if [[ "$TEST" == coverage ]]; then ./tool/build_sdk.sh && ./tool/coverage.sh
; fi |
75 - if [[ "$TEST" == node ]]; then ./tool/node_test.sh ; fi | 76 - if [[ "$TEST" == node ]]; then ./tool/node_test.sh ; fi |
76 - if [[ "$TEST" == package ]]; then ./tool/build_sdk.sh && ./tool/build_pkgs.d
art gen/codegen_output/pkg travis; fi | 77 - if [[ "$TEST" == package ]]; then ./tool/build_sdk.sh && ./tool/build_pkgs.d
art gen/codegen_output/pkg travis; fi |
77 env: | 78 env: |
78 - ANALYZER=master | 79 - ANALYZER=master DDC_BROWSERS=ChromeTravis |
79 - ANALYZER=master DDC_BROWSERS=Firefox | 80 - ANALYZER=master DDC_BROWSERS=Firefox |
80 - ANALYZER=master DDC_BROWSERS=ChromeCanaryTravis | 81 - ANALYZER=master DDC_BROWSERS=ChromeCanaryTravis |
81 # TODO(vsm): We don't get much value from this for DDC & it eats up travis | 82 # TODO(vsm): We don't get much value from this for DDC & it eats up travis |
82 # cycles. Consider adding back at some point to test the built dartdevc | 83 # cycles. Consider adding back at some point to test the built dartdevc |
83 # snapshot. | 84 # snapshot. |
84 # - ANALYZER=master CXX=clang++ | 85 # - ANALYZER=master CXX=clang++ |
| 86 - TEST=sdk |
85 - TEST=coverage | 87 - TEST=coverage |
86 - TEST=package | 88 - TEST=package |
87 matrix: | 89 matrix: |
88 allow_failures: | 90 allow_failures: |
89 - env: ANALYZER=master CXX=clang++ | 91 - env: ANALYZER=master CXX=clang++ |
| 92 - env: ANALYZER=master DDC_BROWSERS=ChromeTravis |
90 - env: ANALYZER=master DDC_BROWSERS=ChromeCanaryTravis | 93 - env: ANALYZER=master DDC_BROWSERS=ChromeCanaryTravis |
91 - env: ANALYZER=master DDC_BROWSERS=Firefox | 94 - env: ANALYZER=master DDC_BROWSERS=Firefox |
92 notifications: | 95 notifications: |
93 email: | 96 email: |
94 recipients: | 97 recipients: |
95 - dev-compiler+buildbot@dartlang.org | 98 - dev-compiler+buildbot@dartlang.org |
96 on_failure: change | 99 on_failure: change |
OLD | NEW |