Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move common definitions to common.sh
Source common.sh into other travis-ci shell scripts.
- Loading branch information
Showing
4 changed files
with
19 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
# Common definitions used by SOCI build scripts at travis-ci.org | ||
# Mateusz Loskot <mateusz@loskot.net>, http://github.com/SOCI | ||
# | ||
set -e | ||
|
||
if [[ "$TRAVIS" != "true" ]] ; then | ||
echo "Running this script makes no sense outside of travis-ci.org" | ||
exit 1 | ||
fi | ||
# Functions | ||
tmstamp() { echo -n "[$(date '+%H:%M:%S')]" ; } | ||
# Environment | ||
export ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/client |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters