Skip to content

Commit 1ae37d0

Browse files
committed
Remove 7.1 and 7.2 for xdebug
1 parent af71273 commit 1ae37d0

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.travis.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
language: php
22
dist: trusty
33
php:
4-
- '7.1'
5-
- '7.2'
6-
- '7.3'
4+
- '7.3.24'
5+
- '7.4.0'
76
cache:
87
directories:
98
- node_modules
@@ -21,7 +20,7 @@ before_deploy:
2120
- npm run document
2221
script:
2322
- 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 [[
2524
`cat "output/checkstyle.xml" | grep "<error "` != "" ]]; then exit 1; fi fi
2625
deploy:
2726
provider: pages
@@ -31,6 +30,6 @@ deploy:
3130
local_dir: output
3231
on:
3332
branch: master
34-
php: '7.1'
33+
php: '7.3.24'
3534
after_success:
3635
- bash <(curl -s https://codecov.io/bash)

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"name": "parse-php-sdk",
33
"scripts": {
44
"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",
77
"lint": "./vendor/bin/phpcs --standard=./phpcs.xml.dist ./src/Parse ./tests/Parse",
88
"lint:fix": "./vendor/bin/phpcbf --standard=./phpcs.xml.dist ./src/Parse ./tests/Parse",
99
"prestart": "MONGODB_VERSION=4.0.4 MONGODB_TOPOLOGY=replicaset MONGODB_STORAGE_ENGINE=wiredTiger mongodb-runner start",

0 commit comments

Comments
 (0)