Drupal modules for browsing and managing Fedora-based digital repositories.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

38 lines
923 B

sudo: true
language: php
php:
- 5.5
- 5.6
- 7.0
- 7.1
matrix:
fast_finish: true
branches:
only:
- /^8.x/
before_install:
- export SCRIPT_DIR=$TRAVIS_BUILD_DIR/.scripts
- export DRUPAL_DIR=/opt/drupal
install:
- $SCRIPT_DIR/travis_setup.sh
- cd $DRUPAL_DIR; composer config repositories.1 path "$TRAVIS_BUILD_DIR"
- composer require "islandora/islandora:dev-$TRAVIS_COMMIT as dev-8.x-1.x" --prefer-source
- cd web; drush en -y islandora
script:
- $SCRIPT_DIR/line_endings.sh $TRAVIS_BUILD_DIR
- phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md $TRAVIS_BUILD_DIR
- phpcpd --names *.module,*.inc,*.test,*.php $TRAVIS_BUILD_DIR
- php core/scripts/run-tests.sh --verbose --php `which php` islandora
notifications:
irc:
channels:
- "irc.freenode.org#islandora"
on_success: change
on_failure: always
skip_join: true