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 25 matching lines...) Expand all Loading... |
36 - sudo dpkg -i google-chrome*.deb | 36 - sudo dpkg -i google-chrome*.deb |
37 - /usr/bin/google-chrome --version | 37 - /usr/bin/google-chrome --version |
38 - export CHROME_BIN=/usr/bin/google-chrome | 38 - export CHROME_BIN=/usr/bin/google-chrome |
39 - /usr/bin/google-chrome-unstable --version | 39 - /usr/bin/google-chrome-unstable --version |
40 - export CHROME_CANARY_BIN=/usr/bin/google-chrome-unstable | 40 - export CHROME_CANARY_BIN=/usr/bin/google-chrome-unstable |
41 | 41 |
42 # Install Depot Tools | 42 # Install Depot Tools |
43 - git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git | 43 - git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git |
44 - export PATH=`pwd`/depot_tools:"$PATH" | 44 - export PATH=`pwd`/depot_tools:"$PATH" |
45 | 45 |
46 # Checkout everything if we're building the SDK | 46 # Checkout everything to pull in sdk and third_party dart packages |
47 - cd .. | 47 - cd .. |
48 - 'gclient config --spec=''solutions = [ { "name": "sdk", "url": "git@github.c
om:dart-lang/sdk.git", "deps_file": "DEPS", "managed": False } ]''' | 48 - 'gclient config --spec=''solutions = [ { "name": "sdk", "url": "git@github.c
om:dart-lang/sdk.git", "deps_file": "DEPS", "managed": False } ]''' |
49 - gclient sync | 49 - gclient sync -n |
| 50 - download_from_google_storage --no_auth --no_resume --bucket dart-dependencie
s --extract -s sdk/third_party/pkg/unittest.tar.gz.sha1 |
50 - cd sdk | 51 - cd sdk |
51 | 52 |
52 # If a C++ compiler is set, build the SDK - else use the preinstalled SDK inst
ead. | 53 # If a C++ compiler is set, run hooks and build the SDK - else use the preinst
alled SDK instead. |
| 54 - export DART_USE_GYP=1 |
| 55 - if [ "$CXX" ]; then gclient runhooks ; fi |
53 - if [ "$CXX" ]; then ./tools/build.py -m release create_sdk ; fi | 56 - if [ "$CXX" ]; then ./tools/build.py -m release create_sdk ; fi |
54 - if [ "$CXX" ]; then export PATH=`pwd`/out/ReleaseX64/dart-sdk/bin:"$PATH" ;
fi | 57 - if [ "$CXX" ]; then export PATH=`pwd`/out/ReleaseX64/dart-sdk/bin:"$PATH" ;
fi |
55 - dart --version | 58 - dart --version |
56 | 59 |
57 # DDC setup | 60 # DDC setup |
58 - cd pkg/dev_compiler | 61 - cd pkg/dev_compiler |
59 - pub global activate dart_coveralls | 62 - pub global activate dart_coveralls |
60 - export DISPLAY=:99.0 | 63 - export DISPLAY=:99.0 |
61 - sh -e /etc/init.d/xvfb start | 64 - sh -e /etc/init.d/xvfb start |
62 install: | 65 install: |
(...skipping 16 matching lines...) Expand all Loading... |
79 - TEST=coverage | 82 - TEST=coverage |
80 - TEST=package | 83 - TEST=package |
81 matrix: | 84 matrix: |
82 allow_failures: | 85 allow_failures: |
83 - env: ANALYZER=master DDC_BROWSERS=ChromeCanaryTravis | 86 - env: ANALYZER=master DDC_BROWSERS=ChromeCanaryTravis |
84 notifications: | 87 notifications: |
85 email: | 88 email: |
86 recipients: | 89 recipients: |
87 - dev-compiler+buildbot@dartlang.org | 90 - dev-compiler+buildbot@dartlang.org |
88 on_failure: change | 91 on_failure: change |
OLD | NEW |