Add travis config

Hello @nicks, 

Please review the following commits I made in branch 'xiao-travis'.

ff3d55ee4b909db0b5a1677a060d9f508f3628a6 (2014-04-04 14:56:44 -0700)
Add travis config

R=@nicks