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.
 
 
 
 

39 lines
992 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
- git -C "$TRAVIS_BUILD_DIR" checkout -b travis-testing
- cd $DRUPAL_DIR; composer config repositories.local path "$TRAVIS_BUILD_DIR"
- composer require "islandora/islandora:dev-travis-testing 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 --ignore=*.md --extensions=php,module,inc,install,test,profile,theme,css,info $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