From 3186311669daf784abf4d1b417802d33b3c084e6 Mon Sep 17 00:00:00 2001 From: Jake Moshenko Date: Fri, 23 Oct 2015 16:24:40 -0400 Subject: [PATCH] Test postgres before mysql variations in migration --- data/migrations/migration.sh | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/data/migrations/migration.sh b/data/migrations/migration.sh index 9d20c5a6a..65521f6a6 100755 --- a/data/migrations/migration.sh +++ b/data/migrations/migration.sh @@ -108,6 +108,16 @@ test_migrate $MYSQL_CONFIG_OVERRIDE set -e down_mysql +# Test via Postgres. +echo '> Starting Postgres' +up_postgres + +echo '> Testing Migration (postgres)' +set +e +test_migrate $PGSQL_CONFIG_OVERRIDE +set -e +down_postgres + # Test via MariaDB. echo '> Starting MariaDB' up_mariadb @@ -127,13 +137,3 @@ set +e test_migrate $PERCONA_CONFIG_OVERRIDE set -e down_percona - -# Test via Postgres. -echo '> Starting Postgres' -up_postgres - -echo '> Testing Migration (postgres)' -set +e -test_migrate $PGSQL_CONFIG_OVERRIDE -set -e -down_postgres