Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added -u to require initialised variables. #390

Merged
merged 1 commit into from
Dec 7, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .travis/before_install.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash

set -e -x
# set -u fails cause npm install to fail

sudo apt-get update -qq

Expand Down
2 changes: 1 addition & 1 deletion .travis/before_install_mysql57.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

set -e -x
set -e -u -x

sudo apt-key add ./.travis/mysql_pubkey.asc # Import public key for MySQL
sudo apt-get remove --purge "^mysql.*"
Expand Down
4 changes: 3 additions & 1 deletion .travis/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@
# iRODS setup added by Iain Bancarz (ib5), adapted from baton:
# https://github.com/wtsi-npg/baton

set -e -x
set -e -u -x

# The default build branch for all repositories. This defaults to
# TRAVIS_BRANCH unless set in the Travis build environment.
WTSI_NPG_BUILD_BRANCH=${WTSI_NPG_BUILD_BRANCH:=$TRAVIS_BRANCH}
IRODS_RIP_DIR=${IRODS_RIP_DIR:+$IRODS_RIP_DIR}

sudo apt-get install libgd2-xpm-dev # For npg_tracking
sudo apt-get install liblzma-dev # For npg_qc
Expand Down Expand Up @@ -58,6 +59,7 @@ fi
sudo ldconfig

# WTSI NPG Perl repo dependencies
repos=""
for repo in perl-dnap-utilities ml_warehouse npg_tracking npg_seq_common perl-irods-wrap; do
cd /tmp
# Always clone master when using depth 1 to get current tag
Expand Down
2 changes: 1 addition & 1 deletion .travis/script.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

set -e -x
set -e -u -x

unset PERL5LIB

Expand Down