This is an automated email from the ASF dual-hosted git repository.
membphis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-apisix.git
The following commit(s) were added to refs/heads/master by this push:
new bead350 travis: When the error message is found, set the exit code to
1. (#1445)
bead350 is described below
commit bead35007b2741fb1c1e297d513f73c01163f124
Author: YuanSheng Wang <[email protected]>
AuthorDate: Mon Apr 13 10:45:13 2020 +0800
travis: When the error message is found, set the exit code to 1. (#1445)
---
.travis/linux_apisix_master_luarocks_runner.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/.travis/linux_apisix_master_luarocks_runner.sh
b/.travis/linux_apisix_master_luarocks_runner.sh
index 8105a9d..dc4966c 100755
--- a/.travis/linux_apisix_master_luarocks_runner.sh
+++ b/.travis/linux_apisix_master_luarocks_runner.sh
@@ -70,6 +70,7 @@ script() {
if [ -s /tmp/error.log ]; then
echo "=====found error log====="
cat /usr/local/apisix/logs/error.log
+ exit 1
fi
sudo luarocks remove rockspec/apisix-master-0.rockspec