Skip to content

Commit

Permalink
Merge pull request #455 from NBISweden/feature/fix-test-in-master
Browse files Browse the repository at this point in the history
Feature/fix test in master
  • Loading branch information
kusalananda authored Apr 6, 2018
2 parents 16f93fc + 344289d commit bbe5daf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/travis_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ echo "/SETTINGS"

echo ">>> Test 1. The SQL Patch"

git fetch origin refs/heads/master:master
git show master:sql/swefreq.sql > master-schema.sql
LATEST_RELEASE=$(git tag | grep '^v' | sort -V | tail -n 1)
git show ${LATEST_RELEASE}:sql/swefreq.sql > master-schema.sql

mysql -u swefreq -h 127.0.0.1 -P 3366 swefreq_test < master-schema.sql
mysql -u swefreq -h 127.0.0.1 -P 3366 swefreq_test < sql/patch-master-db.sql
Expand Down

0 comments on commit bbe5daf

Please sign in to comment.