Update testing setup

This commit is contained in:
Alain Schlesser 2018-09-25 18:49:24 +02:00
parent 6a81ea6ba0
commit 88aeac84bb
2 changed files with 21 additions and 15 deletions

1
.gitignore vendored
View file

@ -5,3 +5,4 @@ node_modules/
vendor/
*.zip
*.tar.gz
*.log

View file

@ -10,7 +10,11 @@
"wp-cli/wp-cli": "^2"
},
"require-dev": {
"wp-cli/wp-cli-tests": "^2"
"wp-cli/wp-cli-tests": "^2.0.7"
},
"config": {
"process-timeout": 7200,
"sort-packages": true
},
"extra": {
"branch-alias": {
@ -33,19 +37,6 @@
"post": "bin/readme/overview-body.md"
}
}
},
"scripts": {
"lint": "run-linter-tests",
"phpcs": "run-phpcs-tests",
"phpunit": "run-php-unit-tests",
"behat": "run-behat-tests",
"prepare-tests": "install-package-tests",
"test": [
"@lint",
"@phpcs",
"@phpunit",
"@behat"
]
},
"autoload": {
"files": [
@ -53,5 +44,19 @@
]
},
"minimum-stability": "dev",
"prefer-stable": true
"prefer-stable": true,
"scripts": {
"behat": "run-behat-tests",
"behat-rerun": "rerun-behat-tests",
"lint": "run-linter-tests",
"phpcs": "run-phpcs-tests",
"phpunit": "run-php-unit-tests",
"prepare-tests": "install-package-tests",
"test": [
"@lint",
"@phpcs",
"@phpunit",
"@behat"
]
}
}