Fix notifications in travis yaml

This commit fixes an error in the travis yaml file. The on_success and
on_failure portions were incorrectly nested under email. This looks like
the result of a merge.