I've got a project hosted on github and I'd like to integrate it with travis. I've got two classes that have \[code\]main\[/code\] methods: one is the server and another one is the client. I use NetBeans IDE and I test the software just by running the server file (once) and then running client file (as many times as I want). But this is all manual job. How can I automate this on travis? Shall I use maven for it?