Skip to content

Commit b8dafcc

Browse files
authored
Merge pull request #29 from wojsmol/rerun
Automatically rerun failed scenarios
2 parents 21033b4 + 31a1a89 commit b8dafcc

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
@@ -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,
@@ -43,6 +43,7 @@
4343
"prefer-stable": true,
4444
"scripts": {
4545
"behat": "run-behat-tests",
46+
"behat-rerun": "rerun-behat-tests",
4647
"lint": "run-linter-tests",
4748
"phpcs": "run-phpcs-tests",
4849
"phpunit": "run-php-unit-tests",

0 commit comments

Comments
 (0)