Skip to content

Commit 4e38d89

Browse files
committed
Ensure that memcached is running
1 parent d54b2d5 commit 4e38d89

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

travis.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,10 @@ case $ACTION in
156156
# Build the extension
157157
build_php_memcached $PHP_LIBMEMCACHED_PREFIX $PHP_MEMCACHED_VERSION $ENABLE_PROTOOCOL
158158

159+
# Make sure that memcached is running
160+
sudo service memcached restart
161+
nc -z localhost 11211
162+
159163
# Run tests
160164
set +e
161165
run_memcached_tests $PHP_MEMCACHED_VERSION || exit 1

0 commit comments

Comments
 (0)