2 changed files with 16 additions and 5 deletions
@ -0,0 +1,15 @@
|
||||
#!/bin/bash |
||||
|
||||
# Common checks to get run during the 'script' section in Travis. |
||||
|
||||
# Lint |
||||
find $TRAVIS_BUILD_DIR -type f \( -name '*.php' -o -name '*.inc' -o -name '*.module' -o -name '*.install' -o -name '*.test' \) -exec php -l {} \; |
||||
|
||||
# Check line endings |
||||
$ISLANDORA_DIR/tests/scripts/line_endings.sh sites/all/modules/islandora |
||||
|
||||
# Coding standards |
||||
drush coder-review --reviews=production,security,style,i18n,potx,sniffer $TRAVIS_BUILD_DIR |
||||
|
||||
# Copy/paste detection |
||||
phpcpd --names *.module,*.inc,*.test $TRAVIS_BUILD_DIR |
||||
Loading…
Reference in new issue