Allow fast finish up travis builds (rebased onto dev_4_4)



This is the same as gh-1847 but rebased onto dev_4_4.

----

As soon as one part of the build has failed,
the job will be marked as a failure and appear
red in github.

See: http://about.travis-ci.org/blog/2013-11-27-fast-finishing-builds