Skip to content

Commit e4af6e2

Browse files
committed
Automatically rerun failed scenarios
1 parent d6637f3 commit e4af6e2

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎.travis.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ install:
4141

4242
script:
4343
- composer phpunit
44-
- composer behat
44+
- composer behat || composer behat-rerun
4545

4646
jobs:
4747
include:

‎composer.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
},
1919
"require-dev": {
2020
"wp-cli/scaffold-command": "^1 || ^2",
21-
"wp-cli/wp-cli-tests": "^2"
21+
"wp-cli/wp-cli-tests": "^2.0.7"
2222
},
2323
"config": {
2424
"process-timeout": 7200,
@@ -50,6 +50,7 @@
5050
"prefer-stable": true,
5151
"scripts": {
5252
"behat": "run-behat-tests",
53+
"behat-rerun": "rerun-behat-tests",
5354
"lint": "run-linter-tests",
5455
"phpcs": "run-phpcs-tests",
5556
"phpunit": "run-php-unit-tests",

0 commit comments

Comments
 (0)