зеркало из https://github.com/microsoft/git.git
e3371e9260
Our '.travis.yml's 'env.global' section sets a bunch of environment
variables for all build jobs, though none of them actually affects all
build jobs. It's convenient for us, and in most cases it works just
fine, because irrelevant environment variables are simply ignored.
However, $GIT_SKIP_TESTS is an exception: it tells the test harness to
skip the two test scripts that are prone to occasional failures on
OSX, but as it's set for all build jobs those tests are not run in any
of the build jobs that are capable to run them reliably, either.
Therefore $GIT_SKIP_TESTS should only be set in the OSX build jobs,
but those build jobs are included in the build matrix implicitly (i.e.
by combining the matrix keys 'os' and 'compiler'), and there is no way
to set an environment variable only for a subset of those implicit
build jobs. (Unless we were to add new scriptlets to '.travis.yml',
which is exactly the opposite direction that we took with commit
|
||
---|---|---|
.. | ||
install-dependencies.sh | ||
lib-travisci.sh | ||
print-test-failures.sh | ||
run-build.sh | ||
run-linux32-build.sh | ||
run-linux32-docker.sh | ||
run-static-analysis.sh | ||
run-tests.sh | ||
run-windows-build.sh | ||
test-documentation.sh |