add travis configuration scripts to support travis.
Merge branch 'travis-support' for travis testing.