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.
40 lines
737 B
40 lines
737 B
8 years ago
|
sudo: true
|
||
|
language: php
|
||
|
php:
|
||
|
- 5.5
|
||
|
- 5.6
|
||
|
- 7.0
|
||
|
- hhvm
|
||
|
|
||
|
matrix:
|
||
|
allow_failures:
|
||
|
- php: hhvm
|
||
|
fast_finish: true
|
||
|
|
||
|
branches:
|
||
|
only:
|
||
|
- /^8.x/
|
||
|
|
||
|
|
||
|
before_install:
|
||
|
- export ISLANDORA_DIR=$TRAVIS_BUILD_DIR
|
||
|
|
||
|
install:
|
||
|
# - $TRAVIS_BUILD_DIR/tests/scripts/travis_setup.sh
|
||
|
- composer install
|
||
|
- php vendor/bin/phpcs --config-set installed_paths vendor/drupal/coder/coder_sniffer
|
||
|
|
||
|
|
||
|
script:
|
||
|
- $ISLANDORA_DIR/tests/scripts/line_endings.sh .
|
||
|
- php vendor/bin/phpcs --standard=Drupal *.module src
|
||
|
- php vendor/bin/phpcpd --names *.module,*.inc,*.test,*.php --exclude=vendor .
|
||
|
|
||
|
notifications:
|
||
|
irc:
|
||
|
channels:
|
||
|
- "irc.freenode.org#islandora"
|
||
|
on_success: change
|
||
|
on_failure: always
|
||
|
skip_join: true
|