TravisCI in a local docker container


I need to be able to pass large tar files to the python script and github only allows 25MB max file size.

So I would like to setup a TravisCI environment on Ubuntu host in docker container.

Is there a proven procedure to follow?