Correct travis.yml to only build extended tests when explicitely asked to
authorRichard Levitte <levitte@openssl.org>
Wed, 12 Apr 2017 16:57:02 +0000 (18:57 +0200)
committerRichard Levitte <levitte@openssl.org>
Wed, 12 Apr 2017 17:28:28 +0000 (19:28 +0200)
commit2da3f9687fc0efd56d1269dfda4c9ca5b388038a
tree650f19350cd65858270a430465c2c6d3112fda55
parent6a71e06d7aa02b857c8650aa94f6efd9d6531872
Correct travis.yml to only build extended tests when explicitely asked to

The check for this was done by checking if $TRAVIS_EVENT_TYPE is
"pull_request".  The trouble is that when new data is pushed to an
already existing pull request, the event type is "push".

Better then to go with another documented variable, $TRAVIS_PULL_REQUEST,
which is "false" in non-PR builds.

Ref: https://docs.travis-ci.com/user/environment-variables/#Default-Environment-Variables

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3205)
.travis.yml