How to package metricbeat code

Hi,
I have checked out the metricbeat code from https://github.com/elastic/beats
Now, how can I build the code in my local machine so that I can get the Windows zip file as present in https://www.elastic.co/downloads/beats/metricbeat

Run make package inside the metricbeat directory. The result will be inside build/upload.

You'll need docker and virtualenv.

Instead of packaging the code locally in my machine, can I configure any travis build to my github repository. Is there any settings available from elastic for metricbeat?