diff options
author | William Desportes <williamdes@wdes.fr> | 2019-10-19 15:17:26 +0300 |
---|---|---|
committer | William Desportes <williamdes@wdes.fr> | 2019-10-19 22:17:06 +0300 |
commit | 2709edfc8c8ee823e43437af41785a83a397e773 (patch) | |
tree | 9cea086796c387f41374f5122c2b495dbf901f41 /.travis.yml | |
parent | dd0596816afbb4f303a4071932dcf035e652b0a8 (diff) |
Add travisCI config
Signed-off-by: William Desportes <williamdes@wdes.fr>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index c926e548e9..ea4f65e393 100644 --- a/.travis.yml +++ b/.travis.yml @@ -91,6 +91,18 @@ matrix: - php: "5.5" env: CI_MODE=test dist: trusty + - php: "7.3" + env: CI_MODE=test + name: "Run tests using phpunit 8" + 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: |