Let travis hook be called on Fail/Success/Start builds
Merge pull request #794 from sergeylukin/travis-script

Let travis hook be called on Failed/Passed/Started builds