Permalink
Browse files

Travis: Make all the travis scripts fail and exit on any errors.

  • Loading branch information...
1 parent b0a8a56 commit a424e6394b43973edea927c4e022614fc3eab4a6 @tchalvak tchalvak committed Jul 15, 2013
Showing with 14 additions and 2 deletions.
  1. +4 −1 scripts/build/install.sh
  2. +4 −1 scripts/travis/full_install
  3. +3 −0 scripts/travis/integration_install
  4. +3 −0 scripts/travis/test
View
@@ -5,6 +5,9 @@
# Run it :
# bash scripts/build/integration.sh <db_username> <db_name>
+set -e
+#Exit/Fail on all errors
+
# Include functions
_DIR_="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source $_DIR_/functions.sh
@@ -60,4 +63,4 @@ vendor/bin/propel-gen insert-sql
# TODO : need more clean way to import gitignore.
ln -s docs/gitignoreSAMPLE .gitignore
-say_loud "Complete!"
+say_loud "Complete!"
@@ -1,9 +1,12 @@
#!/bin/bash
+set -e
+#Exit/Fail on all errors
+
# Include functions
_TRAVIS_DIR_="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
_DIR_=`echo $_TRAVIS_DIR_ | sed 's,scripts/travis,scripts/build,'`
source $_DIR_/functions.sh
# Main install scripts!
-bash $_DIR_/install.sh postgres
+bash $_DIR_/install.sh postgres
@@ -1,5 +1,8 @@
#!/bin/bash
+set -e
+#Exit/Fail on all errors
+
# Include functions
_TRAVIS_DIR_="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
_DIR_=`echo $_TRAVIS_DIR_ | sed 's,scripts/travis,scripts/build,'`
View
@@ -4,6 +4,9 @@
# Run it :
# bash scripts/build/test.sh
+set -e
+#Exit/Fail on all errors
+
# Include functions
_TRAVIS_DIR_=`dirname $0`
_DIR_=`echo $_TRAVIS_DIR_ | sed 's,scripts/travis,scripts/build,'`

0 comments on commit a424e63

Please sign in to comment.