adding before script to travis file