Skip to content

Commit

Permalink
travis: When the error message is found, set the exit code to 1. (#1445)
Browse files Browse the repository at this point in the history
  • Loading branch information
membphis authored Apr 13, 2020
1 parent 04539ae commit bead350
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis/linux_apisix_master_luarocks_runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bead350

Please sign in to comment.