Browse Source

Attempt to fix travis

pull/340/head
Jonathan Green 12 years ago committed by jonathangreen
parent
commit
33d8911b69
  1. 2
      includes/ingest.form.inc
  2. 11
      tests/scripts/travis_setup.sh

2
includes/ingest.form.inc

@ -78,7 +78,7 @@ function islandora_ingest_form_init_form_state_storage(array &$form_state, array
if (empty($objects)) { if (empty($objects)) {
$objects[] = islandora_ingest_form_prepare_new_object($configuration); $objects[] = islandora_ingest_form_prepare_new_object($configuration);
} }
// No need to persist the 'objects' within the configuration. // No need to persist the objects within the configuration.
unset($configuration['objects']); unset($configuration['objects']);
// Required for step hooks. // Required for step hooks.
$configuration['models'] = isset($configuration['models']) ? $configuration['models'] : array(); $configuration['models'] = isset($configuration['models']) ? $configuration['models'] : array();

11
tests/scripts/travis_setup.sh

@ -11,12 +11,11 @@ cd islandora_tomcat
export CATALINA_HOME='.' export CATALINA_HOME='.'
./bin/startup.sh ./bin/startup.sh
cd $HOME cd $HOME
pyrus channel-discover pear.drush.org pear channel-discover pear.phpqatools.org
pyrus channel-discover pear.phpqatools.org pear channel-discover pear.netpirates.net
pyrus channel-discover pear.netpirates.net pear install pear/PHP_CodeSniffer
pyrus install drush/drush pear install pear.phpunit.de/phpcpd
pyrus install pear/PHP_CodeSniffer sudo apt-get install -qq drush
pyrus install pear.phpunit.de/phpcpd
phpenv rehash phpenv rehash
drush dl --yes drupal drush dl --yes drupal
cd drupal-* cd drupal-*

Loading…
Cancel
Save