Only auto-deploy if previous steps succeed

Only run the Grunt deployment task from Travis CI, if the previous
deployment-related steps succeed.  Otherwise, something like a
failing ``bower install`` can result in a deployment with
missing dependent JavaScript libraries.

Addresses https://pm.theworkdept.com/issues/3900