From db02f1606e08ee5969677f37a4c8d5660dfa4721 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Thu, 30 Aug 2018 18:04:44 -0400 Subject: Run things with -ex and shellcheck (#4436) --- .travis/run.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to '.travis/run.sh') 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 -- cgit v1.2.3