Browse Source

Merge pull request #667 from nmader/7.x-ISLANDORA-1880

7.x islandora 1880
pull/670/head
Rosemary Le Faive 8 years ago committed by GitHub
parent
commit
12c65b70dd
  1. 7
      .travis.yml

7
.travis.yml

@ -1,3 +1,4 @@
sudo: required
language: php language: php
php: php:
- 5.3.3 - 5.3.3
@ -23,12 +24,16 @@ before_install:
- export ISLANDORA_DIR=$TRAVIS_BUILD_DIR - export ISLANDORA_DIR=$TRAVIS_BUILD_DIR
- $TRAVIS_BUILD_DIR/tests/scripts/travis_setup.sh - $TRAVIS_BUILD_DIR/tests/scripts/travis_setup.sh
- cd $HOME/drupal-* - cd $HOME/drupal-*
before_script:
# Mysql might time out for long tests, increase the wait timeout.
- mysql -e 'SET @@GLOBAL.wait_timeout=1200'
script: script:
- ant -buildfile sites/all/modules/islandora/build.xml lint - ant -buildfile sites/all/modules/islandora/build.xml lint
- $ISLANDORA_DIR/tests/scripts/line_endings.sh sites/all/modules/islandora - $ISLANDORA_DIR/tests/scripts/line_endings.sh sites/all/modules/islandora
- drush coder-review --reviews=production,security,style,i18n,potx,sniffer islandora - drush coder-review --reviews=production,security,style,i18n,potx,sniffer islandora
- phpcpd --names *.module,*.inc,*.test sites/all/modules/islandora - phpcpd --names *.module,*.inc,*.test sites/all/modules/islandora
- drush test-run --uri=http://localhost:8081 Islandora - php scripts/run-tests.sh --php `phpenv which php` --url http://localhost:8081 --verbose "Islandora"
after_failure: after_failure:
- $ISLANDORA_DIR/tests/scripts/travis_after_failure.sh - $ISLANDORA_DIR/tests/scripts/travis_after_failure.sh
notifications: notifications:

Loading…
Cancel
Save