Skip to content

Commit a67d336

Browse files
committed
Added retryAsync() method.
1 parent 263eb73 commit a67d336

File tree

8 files changed

+241
-1164
lines changed

8 files changed

+241
-1164
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/vendor/
22
/.*/
3+
/composer.lock

.travis.yml

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,30 @@ sudo: false
66
language: php
77

88
php:
9-
- 5.5
10-
- 5.6
119
- 7.0
1210
- 7.1
11+
- 7.2
12+
13+
env:
14+
matrix:
15+
-
16+
- DEPENDENCIES=--prefer-lowest
17+
18+
matrix:
19+
fast_finish: true
20+
21+
cache:
22+
directories:
23+
- vendor
1324

1425
install:
1526
- alias composer=composer\ -n && composer selfupdate
1627
- composer validate
17-
- composer --prefer-source install
28+
- composer update --no-progress --no-suggest $DEPENDENCIES
1829

1930
script:
20-
- bin/test --coverage-clover=build/logs/clover.xml
31+
- composer test -- --coverage-clover=build/logs/clover.xml
2132

2233
after_success:
23-
- composer --prefer-source require satooshi/php-coveralls
24-
- vendor/bin/coveralls -v
34+
- composer require php-coveralls/php-coveralls:^2
35+
- vendor/bin/php-coveralls -v

bin/test

Lines changed: 0 additions & 5 deletions
This file was deleted.

composer.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@
1313
}
1414
],
1515
"require": {
16-
"php": "^5.5|^7"
16+
"php": "^7"
1717
},
1818
"require-dev": {
19-
"phpunit/phpunit": "^4"
19+
"phpunit/phpunit": "^4.8",
20+
"amphp/amp": "^2"
2021
},
2122
"autoload": {
2223
"files": [
@@ -25,5 +26,8 @@
2526
"psr-4": {
2627
"ScriptFUSION\\Retry\\": "src"
2728
}
29+
},
30+
"scripts": {
31+
"test": "phpunit -c test"
2832
}
2933
}

0 commit comments

Comments
 (0)