diff --git a/tests/scripts/travis_setup.sh b/tests/scripts/travis_setup.sh index e619b033..b5cea273 100755 --- a/tests/scripts/travis_setup.sh +++ b/tests/scripts/travis_setup.sh @@ -8,6 +8,8 @@ mysql -u root -e "GRANT ALL PRIVILEGES ON drupal.* To 'drupal'@'localhost' IDENT # Java 8, if needed. if [ $FEDORA_VERSION = "3.8.1" ]; then + sudo add-apt-repository -y ppa:webupd8team/java + sudo apt-get update sudo apt-get install -y oracle-java8-installer oracle-java8-set-default sudo update-java-alternatives -s java-8-oracle export JAVA_HOME=/usr/lib/jvm/java-8-oracle @@ -21,6 +23,10 @@ tar xf islandora_tomcat.$FEDORA_VERSION.tar.gz cd islandora_tomcat export CATALINA_HOME='.' export JAVA_OPTS="-Xms1024m -Xmx1024m -XX:MaxPermSize=512m -XX:+CMSClassUnloadingEnabled -Djavax.net.ssl.trustStore=$CATALINA_HOME/fedora/server/truststore -Djavax.net.ssl.trustStorePassword=tomcat" +# TODO: roll a Fedora 3.8.1 islandora_tomcat that doesn't require a rebuild. +if [ $FEDORA_VERSION = "3.8.1" ]; then + ./fedora/server/bin/fedora-rebuild.sh -r org.fcrepo.server.utilities.rebuild.SQLRebuilder +fi ./bin/startup.sh # Drush installation.