From: Peter Rabbitson Date: Tue, 23 Sep 2014 23:25:53 +0000 (+0200) Subject: (travis) reload the already running RDBMS, as a precaution X-Git-Tag: v0.082800~25 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ebe711d1654fae22b2428625b4b168c3fac661ea;p=dbsrgits%2FDBIx-Class.git (travis) reload the already running RDBMS, as a precaution Also get a newer libmysqlclient, just in case... --- diff --git a/maint/travis-ci_scripts/10_before_install.bash b/maint/travis-ci_scripts/10_before_install.bash index f861b0e..fe3d35b 100755 --- a/maint/travis-ci_scripts/10_before_install.bash +++ b/maint/travis-ci_scripts/10_before_install.bash @@ -37,18 +37,20 @@ if [[ "$CLEANTEST" != "true" ]]; then run_or_err "Priming up the APT cache with $(echo $(ls -d $CACHE_DIR/apt_cache/*.deb))" "sudo cp $CACHE_DIR/apt_cache/*.deb /var/cache/apt/archives" - apt_install memcached firebird2.5-super firebird2.5-dev unixodbc-dev expect oracle-xe + apt_install libmysqlclient-dev memcached firebird2.5-super firebird2.5-dev unixodbc-dev expect oracle-xe ### config memcached run_or_err "Starting memcached" "sudo /etc/init.d/memcached start" export DBICTEST_MEMCACHED=127.0.0.1:11211 ### config mysql + run_or_err "Restarting MySQL" "sudo /etc/init.d/mysql restart" run_or_err "Creating MySQL TestDB" "mysql -e 'create database dbic_test;'" export DBICTEST_MYSQL_DSN='dbi:mysql:database=dbic_test;host=127.0.0.1' export DBICTEST_MYSQL_USER=root ### config pg + run_or_err "Restarting PostgreSQL" "sudo /etc/init.d/postgresql restart" run_or_err "Creating PostgreSQL TestDB" "psql -c 'create database dbic_test;' -U postgres" export DBICTEST_PG_DSN='dbi:Pg:database=dbic_test;host=127.0.0.1' export DBICTEST_PG_USER=postgres