Debug travis ip and psql connect issues

This commit is contained in:
Devon Mackay 2018-07-30 20:02:41 -04:00 committed by dandds
parent c1dc914953
commit 09b8b8ab4c
3 changed files with 9 additions and 0 deletions

View File

@ -18,6 +18,9 @@ before_install:
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
# Manually initialize submodules
- git submodule update --init --recursive
- /sbin/ip route|awk '/default/ { print $3 }'
- /sbin/ip addr
- ./foo
before_script:
- travis_host_ip="$(/sbin/ip route|awk '/default/ { print $3 }')"

View File

@ -6,3 +6,6 @@ source "$(dirname "${0}")"/../script/include/global_header.inc.sh
# Run the shared get_db_settings script
source ./script/include/run_get_db_settings.sh
echo "Postgres settings: "
echo $PGHOST

View File

@ -14,5 +14,8 @@ DATABASE_NAME="atat"
# Enable database resetting
RESET_DB="true"
echo "Hosts file:"
cat /etc/hosts
# Run the shared setup script
source ./script/include/run_setup