Multi platform test on Travis-CI using Docker
This functionality is built straight into travis. Have a look at here. 

Secondly you should not need to specify a branch as part of your make script as travis will triggered on a specific branch and therefore that revision would already be checked out.