mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 15:24:46 -05:00
travis should immediately fail when lint or test_format fails (#1172)
Fixes #1104
This commit is contained in:
parent
d67733c34d
commit
1a876a70de
1 changed files with 8 additions and 6 deletions
14
.travis.yml
14
.travis.yml
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue