Skip to content

Commit 73e27be

Browse files
authored
Merge pull request #200 from wojsmol/master
Automatically rerun failed scenarios
2 parents e3f3d24 + 2f45317 commit 73e27be

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
@@ -19,7 +19,7 @@
1919
"wp-cli/db-command": "^1.3 || ^2",
2020
"wp-cli/extension-command": "^1.2 || ^2",
2121
"wp-cli/media-command": "^1.1 || ^2",
22-
"wp-cli/wp-cli-tests": "^2"
22+
"wp-cli/wp-cli-tests": "^2.0.7"
2323
},
2424
"config": {
2525
"process-timeout": 7200,
@@ -194,6 +194,7 @@
194194
"prefer-stable": true,
195195
"scripts": {
196196
"behat": "run-behat-tests",
197+
"behat-rerun": "rerun-behat-tests",
197198
"lint": "run-linter-tests",
198199
"phpcs": "run-phpcs-tests",
199200
"phpunit": "run-php-unit-tests",

0 commit comments

Comments
 (0)