0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-03 09:31:22 -05:00

travis: allow cache to be saved when build takes too long

Kill Ninja after 35 minutes to prevent Travis from cancelling the build
due to time-out. This allows the cache to be saved, so the build can
complete when it is attempted again.
This commit is contained in:
Bert Belder 2018-08-24 17:37:59 +02:00
parent 0208305fcd
commit 4b3a8be640

View file

@ -34,6 +34,7 @@ before_script:
- "./tools/setup.py"
script:
- "./tools/lint.py"
- bash -c "sleep 2100; pkill ninja" &
- "./tools/build.py -j2"
- "./tools/test.py $DENO_BUILD_PATH"
before_deploy: |