added before_script to travis yml

-also reformatted code to use spaces instead of tabs