Browse Source

Ensure we can write to the settings.php

pull/488/head
Adam Vessey 11 years ago
parent
commit
e8390a99ee
  1. 2
      tests/scripts/travis_setup.sh

2
tests/scripts/travis_setup.sh

@ -36,7 +36,9 @@ drush dl --yes drupal
cd drupal-*
drush si minimal --db-url=mysql://drupal:drupal@localhost/drupal --yes
# Needs to make things from Composer be available (PHP CS, primarily)
sudo chmod a+w sites/default/settings.php
echo "include_once $HOME/.composer/vendor/autoload.php;" >> sites/default/settings.php
sudo chmod a-w sites/default/settings.php
drush runserver --php-cgi=$HOME/.phpenv/shims/php-cgi localhost:8081 &>/dev/null &
ln -s $ISLANDORA_DIR sites/all/modules/islandora
mv sites/all/modules/islandora/tests/travis.test_config.ini sites/all/modules/islandora/tests/test_config.ini

Loading…
Cancel
Save