Added script and after_success lines to .travis.yml file