Display no-deploy messages only when user wanted deployment
Fix spec failures introduced by the previous commit

Non-deploy messages should be printed only when deployment did
not happen. Basically, revert the specs for the non-deploy messages
and add a new spec that explicitly checks for the non-deploy
messages when the deploy condition fails.
Merge pull request #262 from travis-ci/ha-bug-pr255-followup

Display non-deploy message only when the deployment is expected but did not occur
Fix logic for multiple deployment providers

In cases where people have an array of deployment providers with only
a single element the current logic would break. This change fixes that.
Handle multiple custom deploy conditions

There was a regression introduced by the recent change in deploy
handling in the case where 'deploy.on.condition' is an array.
In such cases, the `if` statement is malformed, leading to
https://github.com/travis-ci/travis-ci/issues/2524.
This fixes this case.

Also, fix the failure_message spec.
Yield `script` in specs
Reset the colours at the end of travis_result

Otherwise the colours will leak into the next command if there is one,
see travis-ci/travis.rb#210.
Use $RESET [skip ci]
Deployment: Use build data rather than environmental variable to check whether build is a pull request
Merge pull request #268 from Joshua-Anderson/deployment-patch

Deployment: Use build data rather than environmental variable to check whether build is a pull request