Commit Graph

343 Commits

Author SHA1 Message Date
Daniel Mason
deb9af2781 Remove this bloody lock file 2018-05-25 20:29:01 +12:00
Daniel Mason
93b5733df8 Bloody comma 2018-05-25 20:27:18 +12:00
Daniel Mason
cb6281cdcc Oh.. 2018-05-25 20:26:04 +12:00
Daniel Mason
1085ac2412 Trying to pass builds.. 2018-05-25 20:24:00 +12:00
Daniel Mason
44413588f4 basic redis tests passing 2018-05-25 20:11:17 +12:00
Daniel Mason
c862009505 Enable redis server in travis for testing 2018-05-25 19:53:55 +12:00
Daniel Mason
bc39882dd7 Rolled back to phpunit 6 + updated travis build image 2018-05-25 19:43:22 +12:00
Daniel Mason
fd35e9c563 Lock phpunit to ^7.0 2018-05-25 19:38:47 +12:00
Daniel Mason
548bc3fb85 Remove composer.lock 2018-05-25 19:37:32 +12:00
Daniel Mason
a5edf03a14 Tidy travis.yml file 2018-05-25 19:34:10 +12:00
Daniel Mason
ae84530132 - Reformatted files to PSR2 standard
- Removed credis for native phpredis
- Tidied up some docs
- Setting up new travis.ci build
2018-05-25 19:26:54 +12:00
Daniel Mason
065d5a4c63 Add php 7.2 2018-05-25 16:34:06 +12:00
Daniel Mason
3857d0600a Simplify README 2018-05-25 14:26:53 +12:00
Daniel Mason
6f78451498 Remove credis dependancy for php-redis/predis 2018-05-25 14:24:48 +12:00
Chris Boulton
968b7e6a30 Merge pull request #320 from dinbrca/master
Composer locks due to psr/log dependency version
2017-04-12 14:58:19 -07:00
dinbrca
da25ae1263 Update composer.json 2016-12-06 14:05:43 +02:00
Chris Boulton
cf187fae52 Merge pull request #314 from sapolang/master
bin/resque 99行pid变量缺少一个$
2016-11-03 14:56:00 -07:00
lixiangyang
7c9c18352c bin/resque 缺少一个$ 2016-10-24 13:53:58 +08:00
Chris Boulton
a03f00f2a0 Merge pull request #313 from petrkotek/petrkotek-patch-1
Resque_Redis: use `&&` rather than `and`
2016-10-20 17:00:54 -05:00
Petr Kotek
b054df780f Resque_Redis: use && rather than and 2016-10-20 23:58:23 +02:00
Chris Boulton
3c5dac8789 Merge pull request #311 from sergeyklay/patch-1
[Travis] Test on PHP 7.1
2016-10-20 16:42:31 -05:00
Serghei Iakovlev
6728b2e78f [Travis] Test on PHP 7.1 2016-10-16 18:54:44 +03:00
Chris Boulton
9ab96deb4a Merge pull request #307 from chrisboulton/credis-bump
Bump credis to 1.7
2016-10-16 08:50:52 -07:00
Chris Boulton
3b676e8d6a bump credis to 1.7 2016-10-15 02:12:35 -07:00
Chris Boulton
e023b7a75e Merge pull request #310 from chrisboulton/fix-connection-hhvm
Use a mock to test correct redis exceptions are surfaced
2016-10-15 02:12:15 -07:00
Chris Boulton
8113e624c4 use a mock to test correct redis exceptions are surfaced 2016-10-15 01:50:45 -07:00
Chris Boulton
5246a84868 Merge pull request #309 from danhunsaker/suggest/matrix-exclude
Use Matrix Exclude instead of hard-coded matrix
2016-10-15 01:14:44 -07:00
Dan Hunsaker
4b10ae4863 Use Matrix Exclude instead of hard-coded matrix
While the current .travis.yml setup works, and the reasoning makes sense, it's far less readable than the previous configuration.  This suggested patch presents an alternative approach to the same result, which uses the matrix->exclude array to filter out invalid tests, instead of hard-coding every valid combination as the current file does.  This seems more readable, at least to me.
2016-10-14 21:01:51 -06:00
Chris Boulton
599dc4c8be Merge pull request #306 from chrisboulton/php-versions
Remove old PHP versions from test matrix, require PHP 7 and HHVM to pass as these are now officially supported
2016-10-14 17:01:29 -07:00
Chris Boulton
6b560798c4 Merge pull request #229 from chrisboulton/exceptions
Surface Redis exceptions instead of silently returning false
2016-10-14 16:36:10 -07:00
Chris Boulton
8989564468 enable redis extension on supported php versions 2016-10-14 15:49:33 -07:00
Chris Boulton
2e24b5308f don't test against php 5.3, 5.4, 5.5. don't allow failures on php7 and hhvm 2016-10-14 15:26:02 -07:00
Chris Boulton
b1911f6867 maintain previous credis exception when throwing redis exceptions from resque 2016-10-14 15:03:18 -07:00
Chris Boulton
af570212b3 add Resque_RedisException 2016-10-14 15:03:18 -07:00
Chris Boulton
81cb92b964 throw Resque_RedisException whenever an errror connecting/talking to redis occurs 2016-10-14 15:03:17 -07:00
Chris Boulton
ee9f133bf9 Merge pull request #303 from serroba/BIG-28720
Allowing to use a factory instead of manually instantiate the Jobs
2016-10-14 14:56:45 -07:00
Sebastian Machuca
be19e12c31
Making the factory the default layer to construct jobs 2016-10-14 14:41:19 +11:00
Sebastian Machuca
df20186c37
Convert spaces to tabs 2016-10-13 14:45:02 +11:00
Sebastian Machuca
8f542e5035
Making the factory responsible to set the arguments and the queue 2016-10-12 19:22:31 +11:00
Chris Boulton
e9a202c8fd Merge pull request #305 from sergeyklay/patch-1
Update Readme.md [ci skip]
2016-10-11 15:01:36 -07:00
Serghei Iakovlev
59ae24d0b5 Update Readme.md [ci skip] 2016-10-12 00:51:55 +03:00
Chris Boulton
c928347ae7 Merge pull request #299 from chrisboulton/fork-return
Return false if the fork function is unavailable
2016-10-11 13:10:59 -07:00
Chris Boulton
e684d19d4f Merge pull request #152 from liujingyu/patch-1
repair PHP Notice, on line 17
2016-10-11 12:17:22 -07:00
Chris Boulton
3cead7dbb6 Merge pull request #226 from andrewbrereton/patch-1
gethostname() doesn't work on Amazon's EC2
2016-10-11 12:11:19 -07:00
Chris Boulton
eba6ef55e7 abort bin/resque when managing multiple workers and pcntl_fork is unavailable 2016-10-11 12:08:54 -07:00
Chris Boulton
5de9073562 Merge pull request #298 from lauripiisang/patch-1
Add support for unprotected unix socket
2016-10-11 12:04:47 -07:00
Chris Boulton
d341f11254 Merge pull request #304 from TeachersPayTeachers/master
Allow empty prefix
2016-10-11 12:00:39 -07:00
Keyan Pishdadian
ae308ff1fd Allow empty prefix 2016-10-07 18:31:06 -04:00
Sebastian Machuca
de22db6826
Making it compatible with PHP < 5.5
Making the factory receive the classname
2016-10-06 16:07:16 +11:00
Sebastian Machuca
7d2ce1bc8b
BIG-28720 Allowing to use a factory instead of manually instantite the Jobs 2016-10-06 12:54:41 +11:00