They way it is supposed to work (I think), is that you log into https://travis-ci.org/ with your github account, then enable building of the existing cocos2dx repo.  From then on all pushes to that repo will be tested automatically.