Skip to content

Commit

Permalink
Added retryAsync() method.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilge committed Apr 18, 2018
1 parent 263eb73 commit 8ec333e
Show file tree
Hide file tree
Showing 7 changed files with 125 additions and 1,157 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/vendor/
/.*/
/composer.lock
21 changes: 17 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,28 @@ php:
- 5.6
- 7.0
- 7.1
- 7.2

env:
matrix:
-
- DEPENDENCIES=--prefer-lowest

matrix:
fast_finish: true

cache:
directories:
- vendor

install:
- alias composer=composer\ -n && composer selfupdate
- composer validate
- composer --prefer-source install
- composer update --no-progress --no-suggest $DEPENDENCIES

script:
- bin/test --coverage-clover=build/logs/clover.xml
- composer test -- --coverage-clover=build/logs/clover.xml

after_success:
- composer --prefer-source require satooshi/php-coveralls
- vendor/bin/coveralls -v
- composer require php-coveralls/php-coveralls:^2
- vendor/bin/php-coveralls -v
5 changes: 0 additions & 5 deletions bin/test

This file was deleted.

6 changes: 5 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"php": "^5.5|^7"
},
"require-dev": {
"phpunit/phpunit": "^4"
"phpunit/phpunit": "^4.8",
"amphp/amp": "^2"
},
"autoload": {
"files": [
Expand All @@ -25,5 +26,8 @@
"psr-4": {
"ScriptFUSION\\Retry\\": "src"
}
},
"scripts": {
"test": "phpunit -c test"
}
}

0 comments on commit 8ec333e

Please sign in to comment.