File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,16 @@ matrix:
32
32
- php : 7.1
33
33
env : ES_VERSION="5.5" TEST_BUILD_REF="origin/5.5"
34
34
35
+ - php : 7.2
36
+ env : ES_VERSION="5.0" TEST_BUILD_REF="origin/5.0"
37
+ - php : 7.2
38
+ env : ES_VERSION="5.5" TEST_BUILD_REF="origin/5.5"
39
+
40
+ - php : 7.3
41
+ env : ES_VERSION="5.0" TEST_BUILD_REF="origin/5.0"
42
+ - php : 7.3
43
+ env : ES_VERSION="5.5" TEST_BUILD_REF="origin/5.5"
44
+
35
45
env :
36
46
global :
37
47
- ES_TEST_HOST=http://localhost:9200
@@ -42,10 +52,10 @@ before_install:
42
52
- ./travis/download_and_run_es.sh
43
53
44
54
install :
45
- - composer install --prefer-source
55
+ - composer install --prefer-dist
46
56
47
57
before_script :
48
- - if [ $TRAVIS_PHP_VERSION = '7.0 ' ]; then PHPUNIT_FLAGS="--coverage-clover ./build/logs/clover.xml"; fi
58
+ - if [ $TRAVIS_PHP_VERSION = '7.3 ' ]; then PHPUNIT_FLAGS="--coverage-clover ./build/logs/clover.xml"; fi
49
59
- php util/RestSpecRunner.php
50
60
- php util/EnsureClusterAlive.php
51
61
@@ -54,4 +64,4 @@ script:
54
64
- vendor/bin/phpunit -c phpunit-integration.xml --group sync $PHPUNIT_FLAGS
55
65
56
66
after_script :
57
- - if [ $TRAVIS_PHP_VERSION = '7.0 ' ]; then php vendor/bin/coveralls; fi
67
+ - if [ $TRAVIS_PHP_VERSION = '7.3 ' ]; then php vendor/bin/coveralls; fi
Original file line number Diff line number Diff line change @@ -687,7 +687,7 @@ private function extractURIParts($host)
687
687
*/
688
688
private function prependMissingScheme ($ host )
689
689
{
690
- if (!filter_var ($ host , FILTER_VALIDATE_URL , FILTER_FLAG_SCHEME_REQUIRED )) {
690
+ if (!filter_var ($ host , FILTER_VALIDATE_URL )) {
691
691
$ host = 'http:// ' . $ host ;
692
692
}
693
693
You can’t perform that action at this time.
0 commit comments