|
|
@ -1,16 +1,15 @@ |
|
|
|
language: php |
|
|
|
language: php |
|
|
|
php: |
|
|
|
php: |
|
|
|
|
|
|
|
- 5.3.3 |
|
|
|
- 5.4 |
|
|
|
- 5.4 |
|
|
|
env: |
|
|
|
env: |
|
|
|
- FEDORA_VERSION="3.5" |
|
|
|
- FEDORA_VERSION="3.5" |
|
|
|
- FEDORA_VERSION="3.6.2" |
|
|
|
|
|
|
|
before_install: |
|
|
|
before_install: |
|
|
|
- mysql -u root -e 'create database drupal;' |
|
|
|
- mysql -u root -e 'create database drupal;' |
|
|
|
- mysql -u root -e "create database fedora;" |
|
|
|
- mysql -u root -e "create database fedora;" |
|
|
|
- mysql -u root -e "GRANT ALL PRIVILEGES ON fedora.* To 'fedora'@'localhost' IDENTIFIED BY 'fedora';" |
|
|
|
- mysql -u root -e "GRANT ALL PRIVILEGES ON fedora.* To 'fedora'@'localhost' IDENTIFIED BY 'fedora';" |
|
|
|
- mysql -u root -e "GRANT ALL PRIVILEGES ON drupal.* To 'drupal'@'localhost' IDENTIFIED BY 'drupal';" |
|
|
|
- mysql -u root -e "GRANT ALL PRIVILEGES ON drupal.* To 'drupal'@'localhost' IDENTIFIED BY 'drupal';" |
|
|
|
- cd $HOME |
|
|
|
- cd $HOME |
|
|
|
- sudo apt-get update -qq |
|
|
|
|
|
|
|
- git clone git://github.com/Islandora/tuque.git |
|
|
|
- git clone git://github.com/Islandora/tuque.git |
|
|
|
- git clone -b $FEDORA_VERSION git://github.com/Islandora/islandora_tomcat.git |
|
|
|
- git clone -b $FEDORA_VERSION git://github.com/Islandora/islandora_tomcat.git |
|
|
|
- cd islandora_tomcat |
|
|
|
- cd islandora_tomcat |
|
|
@ -23,7 +22,7 @@ before_install: |
|
|
|
- drush dl --yes drupal |
|
|
|
- drush dl --yes drupal |
|
|
|
- cd drupal-* |
|
|
|
- cd drupal-* |
|
|
|
- drush si standard --db-url=mysql://drupal:drupal@localhost/drupal --yes |
|
|
|
- drush si standard --db-url=mysql://drupal:drupal@localhost/drupal --yes |
|
|
|
- drush runserver --server=builtin localhost:8081 &>/dev/null & |
|
|
|
- drush runserver localhost:8081 &>/dev/null & |
|
|
|
- ln -s $TRAVIS_BUILD_DIR sites/all/modules/islandora |
|
|
|
- ln -s $TRAVIS_BUILD_DIR sites/all/modules/islandora |
|
|
|
- mv sites/all/modules/islandora/tests/travis.test_config.ini sites/all/modules/islandora/tests/test_config.ini |
|
|
|
- mv sites/all/modules/islandora/tests/travis.test_config.ini sites/all/modules/islandora/tests/test_config.ini |
|
|
|
- mkdir sites/all/libraries |
|
|
|
- mkdir sites/all/libraries |
|
|
|