Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 86e968f

Browse files
committed
Attempt to make Travis go green
1 parent 9b304bb commit 86e968f

File tree

6 files changed

+20
-15
lines changed

6 files changed

+20
-15
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ before_script:
66
- ./travis/setup.sh
77
- export PATH=$PWD/depot_tools:$PATH
88
- export BOTO_CONFIG=$PWD/boto
9+
- cd src
910
script: ./travis/build.sh

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ target.
3939
### Android
4040

4141
* (Only the first time) `./build/install-build-deps-android.sh`
42+
* (Only the first time) `./tools/android/download_android_tools.py`
4243
* `./sky/tools/gn --android`
4344
* `ninja -C out/android_Debug`
4445
* `./sky/tools/shelldb start out/android_Debug/ sky/sdk/example/hello_world/lib/main.dart`

DEPS

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -184,12 +184,6 @@ hooks = [
184184
'pattern': '.',
185185
'action': ['python', 'src/tools/dart/update.py'],
186186
},
187-
{
188-
# This downloads android_tools according to tools/android/VERSION_*.
189-
'name': 'android_tools',
190-
'pattern': '.',
191-
'action': ['python', 'src/tools/android/download_android_tools.py'],
192-
},
193187
{
194188
# This downloads SDK extras and puts them in the
195189
# third_party/android_tools/sdk/extras directory on the bots. Developers

build/config/crypto.gni

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ use_openssl_certs = is_android
2626
# True if NSS is used for certificate verification. Note that this is
2727
# independent from use_openssl. It is possible to use OpenSSL for the crypto
2828
# library, but NSS for the platform certificate library.
29-
use_nss_certs = is_linux
29+
use_nss_certs = false

travis/gclient

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ solutions = [{
55
"managed" : False,
66
"safesync_url": "",
77
}]
8-
target_os = ['android', 'linux']
8+
target_os = ['linux']

travis/setup.sh

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,29 @@
11
#!/bin/bash
22
set -ex
33

4+
# Create an src/ directory to work with.
5+
# TODO(alhaad): This is a temporary hack. Find a better way to do this.
6+
mkdir ../src
7+
mv * ../src
8+
mv .??* ../src
9+
mv ../src .
10+
411
# Get depot_tools.
512
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
613
export PATH="$(pwd)/depot_tools:${PATH}"
714

15+
# Get dependencies.
16+
sudo apt-get install libdbus-1-dev libgconf2-dev bison gperf wdiff python-openssl
17+
sudo easy_install pip
18+
sudo pip install requests
19+
820
# Get gsutil
921
rm -f gsutil.tar.gz
1022
wget https://storage.googleapis.com/pub/gsutil.tar.gz
1123
tar xzf gsutil.tar.gz
1224

13-
# Get dependencies.
14-
sudo apt-get install libdbus-1-dev
15-
sudo apt-get install libgconf2-dev
16-
sudo apt-get install python-openssl
17-
sudo easy_install pip
18-
sudo pip install requests
25+
# Setup .gclient file.
26+
cp src/travis/gclient .gclient
1927

20-
gclient sync --gclientfile=travis/gclient
28+
cd src
29+
gclient sync

0 commit comments

Comments
 (0)