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 17 matching lines...) Expand all Loading... |
28 - if [ "$CXX" == "clang++" ]; then sudo apt-get install --allow-unauthenticate
d -qq clang-3.4; fi | 28 - if [ "$CXX" == "clang++" ]; then sudo apt-get install --allow-unauthenticate
d -qq clang-3.4; fi |
29 - if [ "$CXX" == "clang++" ]; then export CXX="clang++-3.4"; fi | 29 - if [ "$CXX" == "clang++" ]; then export CXX="clang++-3.4"; fi |
30 | 30 |
31 - if [ "$CXX" ]; then $CXX --version ; fi | 31 - if [ "$CXX" ]; then $CXX --version ; fi |
32 | 32 |
33 # Install Depot Tools | 33 # Install Depot Tools |
34 - git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git | 34 - git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git |
35 - export PATH=`pwd`/depot_tools:"$PATH" | 35 - export PATH=`pwd`/depot_tools:"$PATH" |
36 | 36 |
37 # Checkout everything if we're building the SDK | 37 # Checkout everything if we're building the SDK |
38 - 'gclient config --spec=''solutions = [ { "name": ".", "url": "git@github.com
:dart-lang/sdk.git", "deps_file": "DEPS", "managed": False, "custom_vars": { "da
rt_root": "." } } ]''' | 38 - cd .. |
39 - if [ "$CXX" ]; then gclient sync ; fi | 39 - 'gclient config --spec=''solutions = [ { "name": "sdk", "url": "git@github.c
om:dart-lang/sdk.git", "deps_file": "DEPS", "managed": False } ]''' |
| 40 - gclient sync |
| 41 - cd sdk |
40 | 42 |
41 # If a C++ compiler is set, built the SDK - else keep the preinstalled. | 43 # If a C++ compiler is set, build the SDK - else use the preinstalled SDK inst
ead. |
42 - if [ "$CXX" ]; then ./tools/build.py -m release create_sdk ; fi | 44 - if [ "$CXX" ]; then ./tools/build.py -m release create_sdk ; fi |
43 - if [ "$CXX" ]; then export PATH=`pwd`/out/ReleaseX64/dart-sdk/bin:"$PATH" ;
fi | 45 - if [ "$CXX" ]; then export PATH=`pwd`/out/ReleaseX64/dart-sdk/bin:"$PATH" ;
fi |
44 - dart --version | 46 - dart --version |
45 | 47 |
46 # DDC setup | 48 # DDC setup |
47 - cd pkg/dev_compiler | 49 - cd pkg/dev_compiler |
48 - pub global activate dart_coveralls | 50 - pub global activate dart_coveralls |
49 - export CHROME_CANARY_BIN=`./tool/get_chrome_canary.sh` | 51 - export CHROME_CANARY_BIN=`./tool/get_chrome_canary.sh` |
50 - export DISPLAY=:99.0 | 52 - export DISPLAY=:99.0 |
51 - sh -e /etc/init.d/xvfb start | 53 - sh -e /etc/init.d/xvfb start |
| 54 install: |
| 55 # Empty to suppress default pub get behavior |
52 before_script: | 56 before_script: |
53 # Node modules used by DDC | 57 # Node modules used by DDC |
54 - nvm install 5.5.0 | 58 - nvm install 5.5.0 |
55 - npm install | 59 - npm install |
56 script: | 60 script: |
57 # Run DDC tests | 61 # Run DDC tests |
58 - if [[ -z "$TEST" ]]; then ./tool/presubmit.sh ; fi | 62 - if [[ -z "$TEST" ]]; then ./tool/presubmit.sh ; fi |
59 - if [[ "$TEST" == coverage ]]; then ./tool/build_sdk.sh && ./tool/coverage.sh
; fi | 63 - if [[ "$TEST" == coverage ]]; then ./tool/build_sdk.sh && ./tool/coverage.sh
; fi |
60 - if [[ "$TEST" == node ]]; then ./tool/node_test.sh ; fi | 64 - if [[ "$TEST" == node ]]; then ./tool/node_test.sh ; fi |
61 env: | 65 env: |
62 - ANALYZER=master | 66 - ANALYZER=master |
63 - ANALYZER=master DDC_BROWSERS=Firefox | 67 - ANALYZER=master DDC_BROWSERS=Firefox |
64 - ANALYZER=master CXX=g++ | 68 - ANALYZER=master CXX=g++ |
65 - ANALYZER=master CXX=clang++ | 69 - ANALYZER=master CXX=clang++ |
66 - TEST=coverage | 70 - TEST=coverage |
67 - TEST=node | 71 - TEST=node |
68 matrix: | 72 matrix: |
69 allow_failures: | 73 allow_failures: |
70 - env: TEST=node | 74 - env: TEST=node |
71 - env: ANALYZER=master DDC_BROWSERS=Firefox | 75 - env: ANALYZER=master DDC_BROWSERS=Firefox |
72 - env: ANALYZER=master CXX=clang++ | |
73 - env: ANALYZER=master CXX=g++ | 76 - env: ANALYZER=master CXX=g++ |
74 notifications: | 77 notifications: |
75 email: | 78 email: |
76 recipients: | 79 recipients: |
77 - dev-compiler+buildbot@dartlang.org | 80 - dev-compiler+buildbot@dartlang.org |
78 on_failure: change | 81 on_failure: change |
OLD | NEW |