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 ..
- # Set additional
- - export
- - export
- # Download
- - drush
- - mv
- - cd
- - drush
- --account-name='admin'
- --account-pass='admin_pass'
- --site-mail='admin@example.com'
- --site-name='Tripal 3'
- # Download
- - drush
- ds, link, entity, libraries, redirect, token, uuid, jquery_update, views, webform
- # Enable
- - drush
- ds, link, entity, libraries, redirect, token
- # Run
- - drush
- script:
- # Link
- - pwd /..
- - ln -s ..//tripal sites//modules/
- # Apply
- - wget ///files/
- - patch
- - cd /all//views
- - ls && pwd && ls .. && file ..//tripal/
- - patch /tripal//views-sql-compliant-three-tier-naming-1971160-30.patch
- - cd ../
- # Install
- - drush
- - drush
- - drush
- # Prepare
- - drush
- - drush
- # Prepare
- - drush
- - drush
- # Run
- - composer
- - ./vendor/bin/phpunit
- # Test Tripal v2 to v3 upgrade steps
- - docker run -it -d --rm --name tripal2 -v :/modules/tripal statonlab/tripal2
- - sleep
- - docker
- - docker
|