diff options
author | William Desportes <williamdes@wdes.fr> | 2019-12-21 13:42:00 +0300 |
---|---|---|
committer | William Desportes <williamdes@wdes.fr> | 2019-12-21 14:01:41 +0300 |
commit | 6337a888c5156ac2b8380a46ca426a1d7bc4557b (patch) | |
tree | e15e1b81e397b6ca39bea839820b3948c1ceaeee /.travis.yml | |
parent | 83d05641bb3b6703000fc3d9bb1b3a02c416c94a (diff) |
Add php 7.4 step using phpunit 8
Signed-off-by: William Desportes <williamdes@wdes.fr>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 47f4574e4f..73eba73190 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,6 @@ services: - mysql php: - - "7.4" - "7.3" - "7.2" - "7.1" @@ -103,6 +102,18 @@ matrix: - "find test/ -type f -print0 | xargs -0 sed -i 's/function setUpBeforeClass()/function setUpBeforeClass(): void/g'" - "find test/ -type f -print0 | xargs -0 sed -i 's/function setUp()/function setUp(): void/g'" - "find test/ -type f -print0 | xargs -0 sed -i 's/function tearDown()/function tearDown(): void/g'" + - php: "7.4" + env: CI_MODE=test + name: "PHP: 7.4" + install: + - composer require --no-interaction php>=7.1 + - composer remove phpunit/phpunit-selenium --dev --no-interaction + - composer remove phpunit/phpunit --dev --no-interaction + - composer require --dev --no-interaction phpunit/phpunit ^8 + - rm -rf test/selenium + - "find test/ -type f -print0 | xargs -0 sed -i 's/function setUpBeforeClass()/function setUpBeforeClass(): void/g'" + - "find test/ -type f -print0 | xargs -0 sed -i 's/function setUp()/function setUp(): void/g'" + - "find test/ -type f -print0 | xargs -0 sed -i 's/function tearDown()/function tearDown(): void/g'" - php: "7.1" env: CI_MODE=test DBASE=true install: |