Skip to content

Commit da4d0b8

Browse files
authored
Merge pull request #27 from wojsmol/rerun
Automatically rerun failed scenarios
2 parents cf8a436 + 9aff3ca commit da4d0b8

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
@@ -15,7 +15,7 @@
1515
"wp-cli/wp-cli": "^2"
1616
},
1717
"require-dev": {
18-
"wp-cli/wp-cli-tests": "^2"
18+
"wp-cli/wp-cli-tests": "^2.0.7"
1919
},
2020
"config": {
2121
"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)