UNPKG

memecached

Version:

A fully featured Memcached API client, supporting both single and clustered Memcached servers through consistent hashing and failover/failure. Memcached is rewrite of nMemcached, which will be deprecated in the near future.

22 lines (18 loc) 610 B
# Ensure that we only run CI test on the Node.js enabled servers. language: node_js node_js: - "4" - "5" - "6" - "8" # Create a Travis memcached enabled environment for the test suite to run in and # ensure that we test against localhost on Travis-CI. services: memcache env: MEMCACHED__HOST=localhost # The `sevices: memcache` will start a memcached service on localhost # and on the default port, but in order to test against multiple memcached # instances we need to spawn a couple more, so we do that during the before # script before_script: - memcached -p 11212 -d - memcached -p 11213 -d