summaryrefslogtreecommitdiff
path: root/.travis.yml
AgeCommit message (Collapse)Author
2020-07-31We can run SSL tests everywhere except mingw/Windows (#859)Michael Grunder
2020-07-29Move SSL management to a distinct private pointer. (#855)Michael Grunder
We need to allow our users to use redisContext->privdata as context for any RESP3 PUSH messages, which means we can't use it for managing SSL connections. Bulletpoints: * Create a secondary redisContext member for internal use only called privctx and rename the redisContextFuncs->free_privdata accordingly. * Adds a `free_privdata` function pointer so the user can tie allocated memory to the lifetime of a redisContext (like they can already do with redisAsyncContext) * Enables SSL tests in .travis.yml
2020-07-19Resp3 oob push support (#841)Michael Grunder
Proper support for RESP3 PUSH messages. By default, PUSH messages are now intercepted and the reply memory freed. This means existing code should work unchanged when connecting to Redis >= 6.0.0 even if `CLIENT TRACKING` were then enabled. Additionally, we define two callbacks users can configure if they wish to handle these messages in a custom way: void redisPushFn(void *privdata, void *reply); void redisAsyncPushFn(redisAsyncContext *ac, void *reply); See #825
2020-07-10Some Windows quality of life improvments. (#846)Michael Grunder
* Don't try to ignore SIGPIPE in Windows (it doesn't exist). * Add an include to our win32.h compatibility header. * Enable building examples on Travis in Windows. See #831
2020-07-08Non Linux CI fixes (#844)Michael Grunder
* Switch to memurai for Windows tests * Switch to macports from brew.
2020-04-13Fix USE_SSL=1 make/cmake on OSX and CMake tests (#789)Michael Grunder
* Fix linker problems when building with SSL enabled on OSX * Corrects `HIREDIS_SSL=ON` to `USE_SSL=ON` so we test building with SSL enabled on travis.
2020-04-02Win32 tests and timeout fix (#776)Michael Grunder
Unit tests in Windows and a Windows timeout fix This commit gets our unit tests compiling and running on Windows as well as removes a duplicated `timeval` -> `DWORD` conversion logic in sockcompat.c There are minor differences in behavior between Linux and Windows to note: 1. In Windows, opening a non-existent hangs forever in WSAPoll whereas it correctly returns with a "Connection refused" error on Linux. For that reason, I simply skip this test in Windows. It may be related to this known issue: https://daniel.haxx.se/blog/2012/10/10/wsapoll-is-broken/ 2. Timeouts are handled slightly differently in Windows and Linux. In Linux, we intentionally set REDIS_ERR_IO for connection timeouts whereas in Windows we set REDIS_ERR_TIMEOUT. It may be prudent to fix this discrepancy although there are almost certainly users relying on the current behavior.
2020-03-14Add release pattern for automatic CImichael-grunder
2020-02-27Housekeeping fixes (#764)Michael Grunder
Housekeeping * Check for C++ (#758, #750) * Include `alloc.h` in `make install` and `cmake` * Add a `.def` file for Windows (#760) * Include allocation wrappers referenced in adapter headers * Fix minor syntax errors and typos in README * Fix CI in Windows by properly escaping arguments (#761)
2019-08-27Merge pull request #697 from yossigo/resp3Mark Nunberg
Port RESP3 support from Redis.
2019-08-09Travis: Add a Windows MSVC 2017 compilation testMarcus Geelnard
2019-08-09Travis: Add a MinGW cross compilation testMarcus Geelnard
2019-08-04RESP3 support changes from Redis.Yossi Gottlieb
This corresponds to commits d5c54f0b..bea09a7f in the redis repository.
2019-02-21SSL: build in travisMark Nunberg
2019-02-20Update .travis-ci.yml to use cmakeJustin Brewer
Signed-off-by: Justin Brewer <jzb0012@auburn.edu>
2017-11-07chore: Build only branches bors needsJan-Erik Rediger
2016-06-20chore(CI): Exclude valgrind jobs on OSXJan-Erik Rediger
2016-06-19Add a before_script for the OS X environmentTed Nyman
2016-06-19Test on Travis for both linux and osxTed Nyman
2015-07-28Use container-based Travis by installing packages through the addonJan-Erik Rediger
2015-05-03Make sure to compile example to trigger edge-cases in compilingJan-Erik Rediger
2015-03-18Update apt repos firstJan-Erik Rediger
2015-01-26Add more travis testsMatt Stancliff
Adds travis testing for 32bit builds as well as compile warnings on 64 bit and 32 bit builds.
2015-01-22Add valgrind to TravisCI testingMatt Stancliff
2013-01-26Add Travis configurationPieter Noordhuis