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 10, 2018
1 parent 7975548 commit 068cb03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ install:

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

jobs:
include:
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"require-dev": {
"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 Down Expand Up @@ -51,6 +51,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 068cb03

Please sign in to comment.