Rewrite the Travis logic to "fail safe" (#1271)
Rewrite the Travis logic to "fail safe" (#1271)

* Rewrite the Travis logic to "fail safe"

* Fix lint errors in the Travis script

wellcometrust/platform-api,wellcometrust/platform-api,wellcometrust/platform-api,wellcometrust/platform-api