Skip to content

Commit 0fe519b

Browse files
committed
[TEST] Add PHP 7.3 to travis matrix
1 parent b6ef137 commit 0fe519b

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

.travis.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,18 @@ matrix:
2727
- php: 7.1
2828
env: ES_VERSION="6.2"
2929

30-
- php: 7.2
31-
env: ES_VERSION="6.0"
3230
- php: 7.2
3331
env: ES_VERSION="6.1"
3432
- php: 7.2
3533
env: ES_VERSION="6.2"
36-
- php: 7.2
34+
35+
- php: 7.3
36+
env: ES_VERSION="6.0"
37+
- php: 7.3
38+
env: ES_VERSION="6.1"
39+
- php: 7.3
40+
env: ES_VERSION="6.2"
41+
- php: 7.3
3742
env: ES_VERSION="6.x"
3843

3944
allow_failures:
@@ -49,18 +54,18 @@ before_install:
4954
- ./travis/download_and_run_es.sh
5055

5156
install:
52-
- composer install --prefer-source
57+
- composer install --prefer-dist
5358

5459
before_script:
55-
- if [ $TRAVIS_PHP_VERSION = '7.0' ]; then PHPUNIT_FLAGS="--coverage-clover ./build/logs/clover.xml"; fi
60+
- if [ $TRAVIS_PHP_VERSION = '7.3' ]; then PHPUNIT_FLAGS="--coverage-clover ./build/logs/clover.xml"; fi
5661
- php util/RestSpecRunner.php
5762
- php util/EnsureClusterAlive.php
5863

5964
script:
60-
- composer run-script phpcs
65+
- if [ $TRAVIS_PHP_VERSION != '7.3' ]; then composer run-script phpcs; fi
6166
- composer run-script phpstan
6267
- vendor/bin/phpunit $PHPUNIT_FLAGS
6368
- vendor/bin/phpunit -c phpunit-integration.xml --group sync $PHPUNIT_FLAGS
6469

6570
after_script:
66-
- if [ $TRAVIS_PHP_VERSION = '7.0' ]; then php vendor/bin/coveralls; fi
71+
- if [ $TRAVIS_PHP_VERSION = '7.3' ]; then php vendor/bin/coveralls; fi

0 commit comments

Comments
 (0)