Re: [PATCH 2/9] ci/lib.sh: encapsulate Travis-specific things
- From
Sebastian Schuberth <sschuberth@gmail.com>
- Date
- Sep 5, 2018, 18:57 UTC
- Message-ID
- <179314eb-774a-bc98-4a41-f79ec78c8466@gmail.com>
- In-Reply-To
- <18e6beec5f48ad5a17c7c7309e0507b01a53c2ec.1536009027.git.gitgitgadget@gmail.com>
On 9/3/2018 11:10 PM, Johannes Schindelin via GitGitGadget wrote:
> +if test -n "$TRAVIS_COMMIT" > +then > + # We are running within Travis CI
Personally, I'd find a check like
if test "$TRAVIS" = "true"
more speaking (also see [1]).
[1] https://docs.travis-ci.com/user/environment-variables/
-- Sebastian Schuberth