Add travis config file for travis-ci.org.

define a travis config file to build debug and release configs on clang
and gcc for linux and osx.

Review: https://reviews.apache.org/r/28683