on_success to after_success in .travis.yml

on_success hook doesn't work