From eb071debf29e5959b595f49ac4fe4ab0b1f0fa9a Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Tue, 17 Mar 2015 23:19:27 -0500 Subject: [PATCH] Minor - Change database accesses for travis --- .travis.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index eaddbd88c8..5cc80de7e6 100755 --- a/.travis.yml +++ b/.travis.yml @@ -37,10 +37,8 @@ before_script: - sudo mv chash.phar /usr/local/bin/chash - cd .. - mysql -e 'create database chamilo' - - mysql -e 'grant all privileges on chamilo.* to chamilo@localhost identified by "chamilo"' - - mysql -e 'flush privileges' # install Chamilo with Chash - see reference https://github.com/sonnym/travis-ci-drupal-module-example/blob/master/.travis.yml - - sudo chash chash:chamilo_install --silent --sitename="Chamilo" --site_url="http://localhost/" --institution="Chamilo" --institution_url="https://chamilo.org" --encrypt_method="sha1" --firstname="John" --lastname="Doe" --language="english" --driver="pdo_mysql" --host="localhost" --port="3306" --dbname="chamilo" --dbuser="chamilo" --dbpassword="chamilo" --permissions_for_new_directories="0777" --permissions_for_new_files="0666" --username="admin" --password="admin" --email="admin@example.com" --phone="555-5555" 1.10.x $(pwd) + - sudo chash chash:chamilo_install --silent --sitename="Chamilo" --site_url="http://localhost/" --institution="Chamilo" --institution_url="https://chamilo.org" --encrypt_method="sha1" --firstname="John" --lastname="Doe" --language="english" --driver="pdo_mysql" --host="127.0.0.1" --port="3306" --dbname="chamilo" --dbuser="root" --dbpassword="" --permissions_for_new_directories="0777" --permissions_for_new_files="0666" --username="admin" --password="admin" --email="admin@example.com" --phone="555-5555" 1.10.x $(pwd) script: phpunit -c tests/phpunit