summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-07-26 20:15:55 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-07-29 00:24:16 -0400
commitdb65c723ae9c4e765e30a05ed6c96f04754dc3f1 (patch)
tree4043f0f7cfc0d4bb51bbc38f6f6c9316282f3602 /.travis.yml
parent604a8a640cf1f825218fdb5b23351cd46fc56747 (diff)
Rename run_hooks.py to setup.py
Moves 'gn gen' into setup.py Make tools/build.py more ergonomic.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml22
1 files changed, 11 insertions, 11 deletions
diff --git a/.travis.yml b/.travis.yml
index 94edc6245..70be5e634 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,10 +6,16 @@ cache:
ccache: true
directories:
- $DEPOT_TOOLS_PATH
- - $BUILD_PATH
+ - $DENO_BUILD_PATH
env:
global:
- - BUILD_PATH=$HOME/out/Default
+ # is_debug, use_allocator, and ccache are used to speed travis.
+ # use_custom_libcxx=false and use_sysroot=false seem to be required to build on
+ # Ubuntu 14.04
+ # Help: How do you wrap long lines here?
+ - DENO_BUILD_ARGS="is_debug=false use_allocator=\"none\" use_custom_libcxx=false use_sysroot=false"
+ - DENO_BUILD_PATH=$HOME/out/Default
+ - DENO_BUILD_MODE=debug
- DEPOT_TOOLS_PATH=$HOME/depot_tools
before_install: |
if ! [ -x $DEPOT_TOOLS_PATH/gclient ]; then
@@ -25,19 +31,13 @@ install:
- curl -sSf https://sh.rustup.rs | sh -s -- -y
- export PATH=$HOME/.cargo/bin:$PATH
- rustc --version
- # TODO(ry) Do not depend on run_hooks because it calls
- # //third_party/depot_tools/download_from_google_storage.py
- # Use git lfs and combine run_hooks with sync_third_party?
- - ./tools/run_hooks.py
# ccache needs the custom LLVM to be in PATH and other variables.
- export PATH=`pwd`/third_party/llvm-build/Release+Asserts/bin:$PATH
- export CCACHE_CPP2=yes
- export CCACHE_SLOPPINESS=time_macros
- ccache -s
- # is_debug, use_allocator, and ccache are used to speed travis.
- # use_custom_libcxx=false and use_sysroot=false seem to be required to build on
- # Ubuntu 14.04
- - ./tools/build.py --build_path=$BUILD_PATH --args='is_debug=false use_allocator="none" use_custom_libcxx=false use_sysroot=false'
+ - ./tools/setup.py
+ - ./tools/build.py
script:
- ./tools/lint.py
- - ./tools/test.py $BUILD_PATH
+ - ./tools/test.py $DENO_BUILD_PATH