Add travis build configuration

Due to travis-ci/travis-ci#979, we can't build yet since we depend on
c++11. Will wait on that issue before starting CI.