Skip to content

Commit

Permalink
Stop testing on PHP 5.3. (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
pfrenssen authored Jun 8, 2017
1 parent 0cc5400 commit dca2e3c
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
language: php

php:
- 5.3
- 5.4
- 5.5
- 5.6
Expand All @@ -18,8 +17,6 @@ env:

matrix:
exclude:
- php: 5.3
env: DRUPAL_VERSION=8
- php: 5.4
env: DRUPAL_VERSION=8
- php: 5.6
Expand All @@ -43,12 +40,10 @@ install:
# Use the example composer.json file for Drupal 8, and also install the behat drush endpoint.
- test ${DRUPAL_VERSION} -ne 8 || (cp doc/_static/composer.json.d8 ./composer.json && composer require --prefer-source drush-ops/behat-drush-endpoint drupal/drupal-driver:dev-master)
- composer install
# Drush version must vary depending on environment and version of core.
- test ${TRAVIS_PHP_VERSION} == "5.3" && composer global require drush/drush:~6.0 || composer global require drush/drush:~8.0
# Install drush.
- composer global require drush/drush:~8.0
# Install the Behat Drush Endpoint for Drupal 7 tests.
- test ${DRUPAL_VERSION} -ne 7 || (git clone https://github.com/drush-ops/behat-drush-endpoint.git drush/behat-drush-endpoint && (cd drush/behat-drush-endpoint && composer install))
# PHP 5.3 requires the cgi extension for runserver.
- test \! ${TRAVIS_PHP_VERSION} == "5.3" || pecl install cgi
- npm install

before_script:
Expand Down

0 comments on commit dca2e3c

Please sign in to comment.