aboutsummaryrefslogtreecommitdiffstats
path: root/.travis/run.sh
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2018-08-30 18:04:44 -0400
committerPaul Kehrer <paul.l.kehrer@gmail.com>2018-08-30 18:04:44 -0400
commitdb02f1606e08ee5969677f37a4c8d5660dfa4721 (patch)
tree347a5917dfb5a28ff40f9d621dd0b8cdf3d8cd2c /.travis/run.sh
parent18551e282b81e54019f6e32902374ad6ec7704f6 (diff)
downloadcryptography-db02f1606e08ee5969677f37a4c8d5660dfa4721.tar.gz
cryptography-db02f1606e08ee5969677f37a4c8d5660dfa4721.tar.bz2
cryptography-db02f1606e08ee5969677f37a4c8d5660dfa4721.zip
Run things with -ex and shellcheck (#4436)
Diffstat (limited to '.travis/run.sh')
-rwxr-xr-x.travis/run.sh9
1 files changed, 3 insertions, 6 deletions
diff --git a/.travis/run.sh b/.travis/run.sh
index ca0ddac6..352c252e 100755
--- a/.travis/run.sh
+++ b/.travis/run.sh
@@ -1,7 +1,4 @@
-#!/bin/bash
-
-set -e
-set -x
+#!/bin/bash -ex
if [[ "${TOXENV}" == "pypy" ]]; then
PYENV_ROOT="$HOME/.pyenv"
@@ -24,10 +21,10 @@ fi
source ~/.venv/bin/activate
if [ -n "${TOXENV}" ]; then
- tox -- --wycheproof-root=$HOME/wycheproof
+ tox -- --wycheproof-root="$HOME/wycheproof"
else
downstream_script="${TRAVIS_BUILD_DIR}/.travis/downstream.d/${DOWNSTREAM}.sh"
- if [ ! -x $downstream_script ]; then
+ if [ ! -x "$downstream_script" ]; then
exit 1
fi
$downstream_script install