Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: .travis.yml

Issue 2618143003: Fix for travis (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: .travis.yml
diff --git a/.travis.yml b/.travis.yml
index f08c83f0c6262ffa8ed87055cb6ae33b59d62d95..0ec28141c9c8b4470b7782caa6745b0d513d48f2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -43,13 +43,16 @@ before_install:
- git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
- export PATH=`pwd`/depot_tools:"$PATH"
- # Checkout everything if we're building the SDK
+ # Checkout everything to pull in sdk and third_party dart packages
- cd ..
- 'gclient config --spec=''solutions = [ { "name": "sdk", "url": "git@github.com:dart-lang/sdk.git", "deps_file": "DEPS", "managed": False } ]'''
- - gclient sync
+ - gclient sync -n
+ - download_from_google_storage --no_auth --no_resume --bucket dart-dependencies --extract -s sdk/third_party/pkg/unittest.tar.gz.sha1
- cd sdk
- # If a C++ compiler is set, build the SDK - else use the preinstalled SDK instead.
+ # If a C++ compiler is set, run hooks and build the SDK - else use the preinstalled SDK instead.
+ - export DART_USE_GYP=1
+ - if [ "$CXX" ]; then gclient runhooks ; fi
- if [ "$CXX" ]; then ./tools/build.py -m release create_sdk ; fi
- if [ "$CXX" ]; then export PATH=`pwd`/out/ReleaseX64/dart-sdk/bin:"$PATH" ; fi
- dart --version
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698