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

Unified Diff: scripts/travis-checkout.sh

Issue 1873133003: Add travis CI config (Closed) Base URL: https://chromium.googlesource.com/breakpad/breakpad.git@master
Patch Set: Created 4 years, 8 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
« scripts/travis-build.sh ('K') | « scripts/travis-build.sh ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/travis-checkout.sh
diff --git a/scripts/travis-checkout.sh b/scripts/travis-checkout.sh
new file mode 100755
index 0000000000000000000000000000000000000000..6c825c1063767d27dd96ce078940f38170ac1938
--- /dev/null
+++ b/scripts/travis-checkout.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+set -ex
+
vapier 2016/04/11 15:09:18 same comment here about using a main func so it's
Ted Mielczarek 2016/04/11 16:30:19 Done.
+(cd; git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git)
+
+PATH="$HOME/depot_tools:$PATH"
+
+# Rename the source dir to match what gclient expects.
+srcdir=`basename $TRAVIS_BUILD_DIR`
vapier 2016/04/11 15:09:18 please write instead: srcdir=$(basename "${TRAVI
Ted Mielczarek 2016/04/11 16:30:19 Done.
+cd ${TRAVIS_BUILD_DIR}/..
vapier 2016/04/11 15:09:18 please quote it
Ted Mielczarek 2016/04/11 16:30:19 Done.
+mv $srcdir src
vapier 2016/04/11 15:09:18 quote & use braces mv "${srcdir}" src
Ted Mielczarek 2016/04/11 16:30:19 Done.
+gclient config --unmanaged https://github.com/google/breakpad.git
+gclient sync
« scripts/travis-build.sh ('K') | « scripts/travis-build.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698