Skip to content

Commit 770a894

Browse files
authored
Merge pull request #170 from wojsmol/rerun
Automatically rerun failed scenarios
2 parents 7975548 + 068cb03 commit 770a894

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+
- ccomposer 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/extension-command": "^1.2 || ^2",
19-
"wp-cli/wp-cli-tests": "^2"
19+
"wp-cli/wp-cli-tests": "^2.0.7"
2020
},
2121
"config": {
2222
"process-timeout": 7200,
@@ -51,6 +51,7 @@
5151
"prefer-stable": true,
5252
"scripts": {
5353
"behat": "run-behat-tests",
54+
"behat-rerun": "rerun-behat-tests",
5455
"lint": "run-linter-tests",
5556
"phpcs": "run-phpcs-tests",
5657
"phpunit": "run-php-unit-tests",

0 commit comments

Comments
 (0)