Travis support for PRs and master, stable5 and stable6

Continuation of #8913
Outside the score of this PR but for an example of setting up the whole smb stuff you can have a look at https://github.com/icewind1991/SMB/blob/master/.travis.yml