Travis support for PRs and master, stable5 and stable6

This introduces travis support to core