Skip to content

Commit 6593421

Browse files
committed
Add set -e -x to scripts for travis
`-e`: exit immediately if a simple command exits with a non-zero status `-x`: print a trace of simple commands and their arguments after they are expanded and before they are executed
1 parent 63fbae6 commit 6593421

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

.ci/travis-after-success.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
set -e -x
4+
35
if [ "${BUILD}" == "tests" ]; then
46
codecov
57
fi

.ci/travis-before-install.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
set -e -x
4+
35
if [ "${BUILD}" != "flake8" ]; then
46
apt-get update -qq
57
apt-get -y install flex bison libgmp-dev libmpc-dev python-dev libssl-dev

.ci/travis-install.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
set -e -x
4+
35
pip install --upgrade pip
46

57
# will not be needed for flake8

.ci/travis-script.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
set -e -x
4+
35
if [ "${BUILD}" == "tests" ]; then
46
pytest -v --cov=honeybadgerbft
57
elif [ "${BUILD}" == "flake8" ]; then

0 commit comments

Comments
 (0)