Skip to content

Commit

Permalink
Use set -e in Travis scripts to ensure the scripts fail on error
Browse files Browse the repository at this point in the history
  • Loading branch information
wsfulton committed Feb 4, 2016
1 parent 97c138d commit dbdef93
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Tools/travis-linux-install.sh
@@ -1,4 +1,7 @@
#!/bin/bash

set -e # exit on failure

lsb_release -a
sudo apt-get -qq update

Expand Down
3 changes: 3 additions & 0 deletions Tools/travis-osx-install.sh
@@ -1,4 +1,7 @@
#!/bin/bash

set -e # exit on failure

sw_vers
brew update
brew list
Expand Down

0 comments on commit dbdef93

Please sign in to comment.