0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-03 17:34:47 -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" - "./tools/setup.py"
script: script:
- "./tools/lint.py" - "./tools/lint.py"
- bash -c "sleep 2100; pkill ninja" &
- "./tools/build.py -j2" - "./tools/build.py -j2"
- "./tools/test.py $DENO_BUILD_PATH" - "./tools/test.py $DENO_BUILD_PATH"
before_deploy: | before_deploy: |