Merge pull request #78 from abarth/iterate_travis

Attempt to make Travis green
This commit is contained in:
Adam Barth 2015-07-17 11:09:34 -07:00
commit 18022ca678
7 changed files with 22 additions and 16 deletions

View File

@ -6,4 +6,5 @@ before_script:
- ./travis/setup.sh
- export PATH=$PWD/depot_tools:$PATH
- export BOTO_CONFIG=$PWD/boto
- cd src
script: ./travis/build.sh

View File

@ -39,6 +39,7 @@ target.
### Android
* (Only the first time) `./build/install-build-deps-android.sh`
* (Only the first time) `./tools/android/download_android_tools.py`
* `./sky/tools/gn --android`
* `ninja -C out/android_Debug`
* `./sky/tools/shelldb start out/android_Debug/ sky/sdk/example/hello_world/lib/main.dart`

6
DEPS
View File

@ -184,12 +184,6 @@ hooks = [
'pattern': '.',
'action': ['python', 'src/tools/dart/update.py'],
},
{
# This downloads android_tools according to tools/android/VERSION_*.
'name': 'android_tools',
'pattern': '.',
'action': ['python', 'src/tools/android/download_android_tools.py'],
},
{
# This downloads SDK extras and puts them in the
# third_party/android_tools/sdk/extras directory on the bots. Developers

View File

@ -26,4 +26,4 @@ use_openssl_certs = is_android
# True if NSS is used for certificate verification. Note that this is
# independent from use_openssl. It is possible to use OpenSSL for the crypto
# library, but NSS for the platform certificate library.
use_nss_certs = is_linux
use_nss_certs = false

View File

@ -93,6 +93,7 @@ dirs_from_mojo = [
# The contents of these files before the roll will be preserved after the roll,
# even though they live in directories rolled in from Chromium.
files_not_to_roll = [
'build/config/crypto.gni',
'build/config/ui.gni',
'build/ls.py',
'build/module_args/mojo.gni',
@ -145,7 +146,7 @@ def main():
if args.chromium_dir:
rev(args.chromium_dir, args.dest_dir, dirs_from_chromium, 'chromium')
try:
patch.patch_and_filter(args.dest_dir)
except subprocess.CalledProcessError:

View File

@ -5,4 +5,4 @@ solutions = [{
"managed" : False,
"safesync_url": "",
}]
target_os = ['android', 'linux']
target_os = ['linux']

View File

@ -1,20 +1,29 @@
#!/bin/bash
set -ex
# Create an src/ directory to work with.
# TODO(alhaad): This is a temporary hack. Find a better way to do this.
mkdir ../src
mv * ../src
mv .??* ../src
mv ../src .
# Get depot_tools.
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
export PATH="$(pwd)/depot_tools:${PATH}"
# Get dependencies.
sudo apt-get install libdbus-1-dev libgconf2-dev bison gperf wdiff python-openssl
sudo easy_install pip
sudo pip install requests
# Get gsutil
rm -f gsutil.tar.gz
wget https://storage.googleapis.com/pub/gsutil.tar.gz
tar xzf gsutil.tar.gz
# Get dependencies.
sudo apt-get install libdbus-1-dev
sudo apt-get install libgconf2-dev
sudo apt-get install python-openssl
sudo easy_install pip
sudo pip install requests
# Setup .gclient file.
cp src/travis/gclient .gclient
gclient sync --gclientfile=travis/gclient
cd src
gclient sync