Skip to content

Commit

Permalink
Automatically rerun failed scenarios
Browse files Browse the repository at this point in the history
  • Loading branch information
wojsmol committed Aug 12, 2018
1 parent 884ddec commit 5c01c68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -41,7 +41,7 @@ install:

script:
- composer phpunit
- composer behat
- composer behat || composer behat-rerun

jobs:
include:
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Expand Up @@ -18,7 +18,7 @@
"wp-cli/db-command": "^1.3 || ^2",
"wp-cli/entity-command": "^1.3 || ^2",
"wp-cli/extension-command": "^1.2 || ^2",
"wp-cli/wp-cli-tests": "^2"
"wp-cli/wp-cli-tests": "^2.0.7"
},
"config": {
"process-timeout": 7200,
Expand All @@ -45,6 +45,7 @@
"prefer-stable": true,
"scripts": {
"behat": "run-behat-tests",
"behat-rerun": "rerun-behat-tests",
"lint": "run-linter-tests",
"phpcs": "run-phpcs-tests",
"phpunit": "run-php-unit-tests",
Expand Down

0 comments on commit 5c01c68

Please sign in to comment.