From e8390a99eec7fd6e6ef5cab5a7deb993746729ca Mon Sep 17 00:00:00 2001 From: Adam Vessey Date: Tue, 22 Apr 2014 14:32:42 +0000 Subject: [PATCH] Ensure we can write to the settings.php --- tests/scripts/travis_setup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/scripts/travis_setup.sh b/tests/scripts/travis_setup.sh index c619b2e9..7359fe0d 100755 --- a/tests/scripts/travis_setup.sh +++ b/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