Lots of improvements! Thanks @Xon!
Unit tests & multi/exec fixes (#89)
* Suppress errors on cleanup (and avoid potentially deleting the config files)
* The pubsub test crassh on phpredis 3.13 and below, but works with 3.1.4RCx.
* All basic tests pass (except pubsub with phpredis which explicitly fails)
* Fix-up testMasterSlave test
* Give Redis time to exit
* Fixup testGetHostAndPort test
* Allow php7.x opcache to optimize the array to be vastly more compact, and use an O(1) lookup rater than a array scan of strings.
* When in standalone multi() mode, exec() now decodes the result, and discard() destroys any pipelining or multi setup.
* Rearange testPipeline & testPipelineTransaction to have the same test functionality.
Add tests for zrangebyscore/zrevrangebyscore
* Fix pipeline/multi modes for more commands
* Shim zRange/zRevRange arguments before they are sent to phpredis & expand test coverage
* remove unneeded variable
* In fluent mode, credis returns itself
* Add test for watch/unwatch, ensure the connection is closed/cleaned up when a pipeline&multi or watch fails.
* Use diskless replication and add some delays for initial setup time.
* Implement info() command for Sentinel
* sentinel tests now wait for replication setup to finish
* Run all tests
* Restore php5.6 support in Credis_cluster
* Compile redis from source so redis-sentinel is available
* Tweak travis build
* Move binaries to the right directory
* Update PATH environment variable rather than move binaries around.
* Remove debugging code
* Better tolerance of slop in the timeout
* Push common code into CredisTestCommon
* Use role() instead of info() to reliably get the slave connecting state
* Move sleep after connect check
* Add waitForSlaveReplication for reliable waiting for master-slave replication