Skip to content

Commit

Permalink
use only root (#11703)
Browse files Browse the repository at this point in the history
  • Loading branch information
photodude authored and rdeutz committed Aug 26, 2016
1 parent 6a7f252 commit c15e7a8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions build/travis/unit-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,8 @@ if [[ $TRAVIS_PHP_VERSION = hhv* ]]; then echo 'xdebug.enable = 0' >> /etc/hhvm/
composer install

# Setup databases for testing
if [[ $TRAVIS_PHP_VERSION != hhvm ]]; then mysql -e 'create database joomla_ut;'; fi
if [[ $TRAVIS_PHP_VERSION != hhvm ]]; then mysql joomla_ut < "$BASE/tests/unit/schema/mysql.sql"; fi
if [[ $TRAVIS_PHP_VERSION = hhvm ]]; then mysql -u root -e 'create database joomla_ut;'; fi
if [[ $TRAVIS_PHP_VERSION = hhvm ]]; then mysql -u root joomla_ut < "$BASE/tests/unit/schema/mysql.sql"; fi
mysql -u root -e 'create database joomla_ut;'
mysql -u root joomla_ut < "$BASE/tests/unit/schema/mysql.sql"
psql -c 'create database joomla_ut;' -U postgres
psql -d joomla_ut -a -f "$BASE/tests/unit/schema/postgresql.sql"

Expand Down

0 comments on commit c15e7a8

Please sign in to comment.