File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 1
1
language : php
2
2
dist : trusty
3
3
php :
4
- - ' 7.1'
5
- - ' 7.2'
6
- - ' 7.3'
4
+ - ' 7.3.24'
5
+ - ' 7.4.0'
7
6
cache :
8
7
directories :
9
8
- node_modules
@@ -21,7 +20,7 @@ before_deploy:
21
20
- npm run document
22
21
script :
23
22
- npm run test:coverage
24
- - if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.1 " ]]; then npm run document-check && if [[
23
+ - if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.3.24 " ]]; then npm run document-check && if [[
25
24
` cat "output/checkstyle.xml" | grep "<error "` != "" ]]; then exit 1; fi fi
26
25
deploy :
27
26
provider : pages
@@ -31,6 +30,6 @@ deploy:
31
30
local_dir : output
32
31
on :
33
32
branch : master
34
- php : ' 7.1 '
33
+ php : ' 7.3.24 '
35
34
after_success :
36
35
- bash <(curl -s https://codecov.io/bash)
Original file line number Diff line number Diff line change 2
2
"name" : " parse-php-sdk" ,
3
3
"scripts" : {
4
4
"test" : " ./vendor/bin/phpunit --stderr" ,
5
- "test:coverage" : " ./vendor/bin/phpunit --stderr --coverage-clover=coverage.xml" ,
6
- "test-stream:coverage" : " ./vendor/bin/phpunit --stderr --bootstrap=./tests/bootstrap-stream.php --coverage-clover=coverage.xml" ,
5
+ "test:coverage" : " XDEBUG_MODE=coverage ./vendor/bin/phpunit --stderr --coverage-clover=coverage.xml" ,
6
+ "test-stream:coverage" : " XDEBUG_MODE=coverage ./vendor/bin/phpunit --stderr --bootstrap=./tests/bootstrap-stream.php --coverage-clover=coverage.xml" ,
7
7
"lint" : " ./vendor/bin/phpcs --standard=./phpcs.xml.dist ./src/Parse ./tests/Parse" ,
8
8
"lint:fix" : " ./vendor/bin/phpcbf --standard=./phpcs.xml.dist ./src/Parse ./tests/Parse" ,
9
9
"prestart" : " MONGODB_VERSION=4.0.4 MONGODB_TOPOLOGY=replicaset MONGODB_STORAGE_ENGINE=wiredTiger mongodb-runner start" ,
You can’t perform that action at this time.
0 commit comments