Add before_script and script to travis-ci.yml