|
|
|
@ -38,7 +38,7 @@ before_script: |
|
|
|
|
- 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 |
|
|
|
|
# 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) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|