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 19, 2018
1 parent 263eb73 commit a67d336
Show file tree
Hide file tree
Showing 8 changed files with 241 additions and 1,164 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
23 changes: 17 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,30 @@ sudo: false
language: php

php:
- 5.5
- 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.

8 changes: 6 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
}
],
"require": {
"php": "^5.5|^7"
"php": "^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"
}
}
Loading

0 comments on commit a67d336

Please sign in to comment.