Skip to content

Commit c5b07a9

Browse files
authored
Merge pull request #116 from wp-cli/automatically-rerun-failed-scenarios
Automatically rerun failed scenarios
2 parents cf5738d + 4b2f6b5 commit c5b07a9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.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
@@ -16,7 +16,7 @@
1616
},
1717
"require-dev": {
1818
"wp-cli/entity-command": "^1.3 || ^2",
19-
"wp-cli/wp-cli-tests": "^2"
19+
"wp-cli/wp-cli-tests": "^2.0.7"
2020
},
2121
"config": {
2222
"process-timeout": 7200,
@@ -58,6 +58,7 @@
5858
"prefer-stable": true,
5959
"scripts": {
6060
"behat": "run-behat-tests",
61+
"behat-rerun": "rerun-behat-tests",
6162
"lint": "run-linter-tests",
6263
"phpcs": "run-phpcs-tests",
6364
"phpunit": "run-php-unit-tests",

0 commit comments

Comments
 (0)