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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 | 59 |
60 # DDC setup | 60 # DDC setup |
61 - cd pkg/dev_compiler | 61 - cd pkg/dev_compiler |
62 - pub global activate dart_coveralls | 62 - pub global activate dart_coveralls |
63 - export DISPLAY=:99.0 | 63 - export DISPLAY=:99.0 |
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 5.5.0 | 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" == coverage ]]; then ./tool/build_sdk.sh && ./tool/coverage.sh
; fi | 74 - if [[ "$TEST" == coverage ]]; then ./tool/build_sdk.sh && ./tool/coverage.sh
; fi |
75 - if [[ "$TEST" == node ]]; then ./tool/node_test.sh ; fi | 75 - if [[ "$TEST" == node ]]; then ./tool/node_test.sh ; fi |
76 - if [[ "$TEST" == package ]]; then ./tool/build_sdk.sh && ./tool/build_pkgs.d
art ; fi | 76 - if [[ "$TEST" == package ]]; then ./tool/build_sdk.sh && ./tool/build_pkgs.d
art ; fi |
77 env: | 77 env: |
78 - ANALYZER=master | 78 - ANALYZER=master |
79 - ANALYZER=master DDC_BROWSERS=Firefox | 79 - ANALYZER=master DDC_BROWSERS=Firefox |
80 - ANALYZER=master DDC_BROWSERS=ChromeCanaryTravis | 80 - ANALYZER=master DDC_BROWSERS=ChromeCanaryTravis |
81 # TODO(vsm): We don't get much value from this for DDC & it eats up travis | 81 # 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 | 82 # cycles. Consider adding back at some point to test the built dartdevc |
83 # snapshot. | 83 # snapshot. |
84 # - ANALYZER=master CXX=clang++ | 84 # - ANALYZER=master CXX=clang++ |
85 - TEST=coverage | 85 - TEST=coverage |
86 - TEST=package | 86 - TEST=package |
87 matrix: | 87 matrix: |
88 allow_failures: | 88 allow_failures: |
89 - env: ANALYZER=master DDC_BROWSERS=ChromeCanaryTravis | 89 - env: ANALYZER=master DDC_BROWSERS=ChromeCanaryTravis |
90 - env: ANALYZER=master CXX=clang++ | 90 - env: ANALYZER=master CXX=clang++ |
91 notifications: | 91 notifications: |
92 email: | 92 email: |
93 recipients: | 93 recipients: |
94 - dev-compiler+buildbot@dartlang.org | 94 - dev-compiler+buildbot@dartlang.org |
95 on_failure: change | 95 on_failure: change |
OLD | NEW |