MDL-60611 phpunit: Bump phpunit to 6.4 and travis to use PHP72

This commit is contained in:
Eloy Lafuente (stronk7) 2017-11-02 19:43:29 +01:00
parent c8e7777766
commit 1322351b92
3 changed files with 409 additions and 223 deletions

View File

@ -13,7 +13,7 @@ language: php
php: php:
# We only run the highest and lowest supported versions to reduce the load on travis-ci.org. # We only run the highest and lowest supported versions to reduce the load on travis-ci.org.
- 7.1 - 7.2
- 7.0 - 7.0
addons: addons:
@ -30,7 +30,7 @@ env:
# Although we want to run these jobs and see failures as quickly as possible, we also want to get the slowest job to # Although we want to run these jobs and see failures as quickly as possible, we also want to get the slowest job to
# start first so that the total run time is not too high. # start first so that the total run time is not too high.
# #
# We only run MySQL on PHP 7.1, so run that first. # We only run MySQL on PHP 7.2, so run that first.
# CI Tests should be second-highest in priority as these only take <= 60 seconds to run under normal circumstances. # CI Tests should be second-highest in priority as these only take <= 60 seconds to run under normal circumstances.
# Postgres is significantly is pretty reasonable in its run-time. # Postgres is significantly is pretty reasonable in its run-time.
@ -54,12 +54,12 @@ matrix:
include: include:
# Run grunt/npm install on highest version ('node' is an alias for the latest node.js version.) # Run grunt/npm install on highest version ('node' is an alias for the latest node.js version.)
- php: 7.1 - php: 7.2
env: DB=none TASK=GRUNT NVM_VERSION='8.9' env: DB=none TASK=GRUNT NVM_VERSION='8.9'
exclude: exclude:
# MySQL - it's just too slow. # MySQL - it's just too slow.
# Exclude it on all versions except for 7.1 # Exclude it on all versions except for 7.2
- env: DB=mysqli TASK=PHPUNIT - env: DB=mysqli TASK=PHPUNIT
php: 7.0 php: 7.0

View File

@ -5,8 +5,8 @@
"type": "project", "type": "project",
"homepage": "https://moodle.org", "homepage": "https://moodle.org",
"require-dev": { "require-dev": {
"phpunit/phpunit": "5.5.*", "phpunit/phpunit": "6.4.*",
"phpunit/dbUnit": "1.4.*", "phpunit/dbUnit": "3.0.*",
"moodlehq/behat-extension": "3.34.1", "moodlehq/behat-extension": "3.34.1",
"mikey179/vfsStream": "^1.6" "mikey179/vfsStream": "^1.6"
} }

620
composer.lock generated

File diff suppressed because it is too large Load Diff