summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorAladeen <zerubeus@gmail.com>2018-11-08 18:19:37 +0100
committerRyan Dahl <ry@tinyclouds.org>2018-11-08 09:19:37 -0800
commit1a876a70de5f8f498f8b1816e1d6220a669c339d (patch)
tree94bf272fff8d082dd07528acc6a5cdf3b5185539 /.travis.yml
parentd67733c34d13598003c9f6573f53e4a2b1892999 (diff)
travis should immediately fail when lint or test_format fails (#1172)
Fixes #1104
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml14
1 files changed, 8 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index a50ae3db4..6a807f3ab 100644
--- a/.travis.yml
+++ b/.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