提交 1a876a70 编写于 作者: A Aladeen 提交者: Ryan Dahl

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

Fixes #1104
上级 d67733c3
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册