removes uneeded function
adds travis yaml