12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- language: php
- services:
- - docker
- - postgres
- sudo: required
- php:
- - 5.6
- - 7.0
- - 7.1
- env:
- - BASE_URL="http://localhost:8080"
- install:
- - composer global require drush/drush:8
- before_script:
- - docker pull statonlab/tripal2
- - psql -c "create database test_db encoding 'utf-8';" -U postgres
- - psql -c "alter role postgres with password 'dbpass';" -U postgres
- - cd ..
-
- - export PATH="$HOME/.config/composer/vendor/bin:$PATH"
- - export DRUPAL_ROOT="$(pwd)/drupal"
-
- - drush dl drupal-7 -y
- - mv drupal-7* drupal
- - cd drupal
- - drush si -y
-
-
-
-
-
- - drush dl -y field_group, field_group_table, field_formatter_class, field_formatter_settings, ctools, date, devel,
- ds, link, entity, libraries, redirect, token, tripal-7.x-3.0-rc2, uuid, jquery_update, views, webform
-
- - drush en -y field_group, field_group_table, field_formatter_class, field_formatter_settings, ctools, date, devel,
- ds, link, entity, libraries, redirect, token, tripal-7.x-3.0-rc2, uuid, jquery_update, views, webform
-
- - drush runserver localhost:8080 &
- script:
-
- - ln -s ../tripal sites/all/modules/tripal
-
- - wget
- - patch -p1 < drupal.pgsql-bytea.27.patch
- - cd sites/all/modules/views
- - patch -p1 < ../tripal/tripal_chado_views/views-sql-compliant-three-tier-naming-1971160-30.patch
- - cd ../tripal
-
- - drush en -y tripal tripal_chado tripal_chado_views tripal_ds tripal_ws
- - drush eval "module_load_include('inc', 'tripal_chado', 'includes/tripal_chado.install'); tripal_chado_load_drush_submit('Install Chado v1.3');"
- - drush trp-run-jobs
-
- - drush eval "module_load_include('inc', 'tripal_chado', 'includes/setup/tripal_chado.setup'); tripal_chado_prepare_drush_submit();"
- - drush trp-run-jobs
-
- - drush eval "module_load_include('inc', 'tripal_chado', 'includes/setup/tripal_chado.setup'); tripal_chado_prepare_drush_submit();"
- - drush trp-run-jobs
-
- - composer install
- - ./vendor/bin/phpunit
-
|