Browse Source
This config will let islandora work with travis-ci. travis more travis This one should work. Test travis with apache. added sudo Added chown Fixed permissions... i hope.w Apache config back to non-apache Another try at a travis config Added some debug output woot Another update Added some debug data to sort out whats up with travis. more debug another More debug Perhaps this will finally work Revert "More debug" This reverts commit 508e993f4b02f7f3c9eb0d978514d0be89abbc78. Revert "another" This reverts commit cbf280eb4ebd22dda90788752787250a0ef71361. Revert "more debug" This reverts commit e6ce86ad77fdb89807c426adaa04a90a9955f343. Revert "Added some debug data to sort out whats up with travis." This reverts commit 5cb8e5b2f5dd20896f501a70167495b42d8f77f4. Holy jumping jesus it works.pull/301/head
Jonathan Green
12 years ago
2 changed files with 20 additions and 5 deletions
@ -1,26 +1,35 @@ |
|||||||
language: php |
language: php |
||||||
php: |
php: |
||||||
- 5.3 |
- 5.3 |
||||||
before_script: |
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 |
||||||
|
- sudo apt-get update -qq |
||||||
|
- sudo apt-get install -qq php5-cgi |
||||||
|
- sudo apt-get install -qq php5-mysql |
||||||
|
- git clone git://github.com/Islandora/tuque.git |
||||||
- git clone git://github.com/Islandora/islandora_tomcat.git |
- git clone git://github.com/Islandora/islandora_tomcat.git |
||||||
- cd islandora_tomcat |
- cd islandora_tomcat |
||||||
- export CATALINA_HOME='.' |
- export CATALINA_HOME='.' |
||||||
- ./bin/startup.sh |
- ./bin/startup.sh |
||||||
- cd .. |
- cd $HOME |
||||||
- pyrus channel-discover pear.drush.org |
- pyrus channel-discover pear.drush.org |
||||||
- pyrus install drush/drush |
- pyrus install drush/drush |
||||||
- phpenv rehash |
- phpenv rehash |
||||||
- 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 8081 > /dev/null & |
||||||
|
- 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 |
||||||
|
- mkdir sites/all/libraries |
||||||
|
- ln -s $HOME/tuque sites/all/libraries/tuque |
||||||
- drush en --yes simpletest |
- drush en --yes simpletest |
||||||
|
- drush en --user=1 --yes islandora |
||||||
- drush cc all |
- drush cc all |
||||||
- drush runserver --server=builtin 80 & |
|
||||||
- sleep 4 |
- sleep 4 |
||||||
- drush vset --yes simpletest_verbose FALSE |
|
||||||
script: |
script: |
||||||
- drush test-run Syslog --xml --uri=http://127.0.0.1:8080 |
- drush test-run --uri=http://127.0.0.1:8081 Islandora |
||||||
|
Loading…
Reference in new issue