Nick O: setting up travis and removed some warnings