Skip to content

Commit

Permalink
Use Bash shell to run travis-ci scripts
Browse files Browse the repository at this point in the history
Fix echo call
  • Loading branch information
mloskot committed Feb 28, 2013
1 parent 94987de commit b680d75
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions bin/ci/before_install.sh
@@ -1,10 +1,10 @@
#!/bin/sh
#!/bin/bash
# Run before_intsall actions for SOCI build at travis-ci.org
# Mateusz Loskot <mateusz@loskot.net>, http://github.com/SOCI
#
set -e
if [[ "$TRAVIS" != "true" ]] ; then
echo_err "Running this script makes no sense outside of travis-ci.org"
echo "Running this script makes no sense outside of travis-ci.org"
exit 1
fi
tmstamp() { echo -n "[$(date '+%H:%M:%S')]" ; }
Expand Down
4 changes: 2 additions & 2 deletions bin/ci/before_script.sh
@@ -1,10 +1,10 @@
#!/bin/sh
#!/bin/bash
# Run before_script actions for SOCI build at travis-ci.org
# Mateusz Loskot <mateusz@loskot.net>, http://github.com/SOCI
#
set -e
if [[ "$TRAVIS" != "true" ]] ; then
echo_err "Running this script makes no sense outside of travis-ci.org"
echo "Running this script makes no sense outside of travis-ci.org"
exit 1
fi
# Create local databases
Expand Down
2 changes: 1 addition & 1 deletion bin/ci/script.sh
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# Run script actions for SOCI build at travis-ci.org
# Mateusz Loskot <mateusz@loskot.net>, http://github.com/SOCI
#
Expand Down

0 comments on commit b680d75

Please sign in to comment.