Change before_script to script in travis