-
Notifications
You must be signed in to change notification settings - Fork 6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #75 from abarth/setup_travis
Add basic travis integration
- Loading branch information
Showing
5 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
language: dart | ||
sudo: required | ||
before_install: | ||
- ./travis/before_install.sh | ||
before_script: | ||
- ./travis/setup.sh | ||
- export PATH=$PWD/depot_tools:$PATH | ||
- export BOTO_CONFIG=$PWD/boto | ||
script: ./travis/build.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
set -ex | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/bash | ||
set -ex | ||
|
||
./sky/tools/gn --debug | ||
ninja -j 8 -C out/Debug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
solutions = [{ | ||
"name" : "src", | ||
"url" : "https://github.com/domokit/sky_engine.git", | ||
"deps_file" : "DEPS", | ||
"managed" : False, | ||
"safesync_url": "", | ||
}] | ||
target_os = ['android', 'linux'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
set -ex | ||
|
||
# Get depot_tools. | ||
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git | ||
export PATH="$(pwd)/depot_tools:${PATH}" | ||
|
||
# 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 | ||
|
||
gclient sync --gclientfile=travis/gclient |