yiisoft/yii — pull request #919 by resurtm (2012-07-04 18:50:15+00:00)
Title: Fixes travis-ci failing, adds memcache support

Repo `http://travis-ci.org/resurtm/yii`, branch `fix-travis-ci-failing`: [![Build Status](https://secure.travis-ci.org/resurtm/yii.png?branch=fix-travis-ci-failing)](http://travis-ci.org/resurtm/yii) (https://secure.travis-ci.org/resurtm/yii.png?branch=fix-travis-ci-failing)

### What's done:

* Added `memcache` support to the `.travis.yml`.
* Fixed travis-ci failing at `CHtmlTest`, `CMysql2Test` (explicitly specified new database collation and character set) and `CMemCacheTest`.

### CMemCache::setValue() and CMemCache::addValue() change note

Expiration time for `Memcache::set()` and `Memcached::set()` now passed as seconds amount. Was UNIX timestamp. This is a documented feature of the memcache PHP extension, but now `CMemCacheTest` passes without failing.

Additional test case for CMemCache expiration added (`CMemCacheTest::testExpire2()`).