1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00

travis should immediately fail when lint or test_format fails (#1172)

Fixes #1104
This commit is contained in:
Aladeen 2018-11-08 18:19:37 +01:00 committed by Ryan Dahl
parent d67733c34d
commit 1a876a70de

View file

@ -87,12 +87,14 @@ install:
before_script:
- ./tools/setup.py
script:
- ./tools/lint.py
- ./tools/test_format.py
- bash -c "sleep 2100; pkill ninja; pkill cargo" &
- ./tools/build.py -j2
- RUSTC_WRAPPER=sccache cargo check -j2 --release
- ./tools/test.py $DENO_BUILD_PATH
- |-
set -e
./tools/lint.py
./tools/test_format.py
bash -c "sleep 2100; pkill ninja; pkill cargo" &
./tools/build.py -j2
RUSTC_WRAPPER=sccache cargo check -j2 --release
./tools/test.py $DENO_BUILD_PATH
after_script:
- ccache --show-stats
- sccache --stop-server