sudo: required language: php php: - 5.3.3 - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 branches: only: - /^7.x/ env: matrix: - FEDORA_VERSION="3.5" - FEDORA_VERSION="3.6.2" - FEDORA_VERSION="3.7.0" - FEDORA_VERSION="3.8.1" global: # This key is unique to the Islandora/islandora repository; logging will # fail on forked repositories unless a new unique key is generated for them. - secure: "nTv2Zb/qKlECK+xE5ahbfXI9ZZbf2ZMd796q7oPlTxUwvu6nomHnUOjJATl6tq2cj23PyJ89Jlgl5cMZ5h0QMUzYpN5hPyY6oCJxWgFamFaE3bv5E/rBd1f6WVTJW7S4UKn8Mr9R2PrX+ZxQZGVIigAfR8VfhQuP8PcuO5eMLBk=" before_install: - export ISLANDORA_DIR=$TRAVIS_BUILD_DIR - $TRAVIS_BUILD_DIR/tests/scripts/travis_setup.sh - cd $HOME/drupal-* before_script: # Mysql might time out for long tests, increase the wait timeout. - mysql -e 'SET @@GLOBAL.wait_timeout=1200' script: - ant -buildfile sites/all/modules/islandora/build.xml lint - $ISLANDORA_DIR/tests/scripts/line_endings.sh sites/all/modules/islandora - drush coder-review --reviews=production,security,style,i18n,potx,sniffer islandora - phpcpd --names *.module,*.inc,*.test sites/all/modules/islandora - php scripts/run-tests.sh --php `phpenv which php` --url http://localhost:8081 --verbose "Islandora" after_failure: - $ISLANDORA_DIR/tests/scripts/travis_after_failure.sh notifications: irc: "irc.freenode.org#islandora"