diff options
author | Anatol Belski <ab@php.net> | 2018-01-03 18:32:33 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2018-01-03 18:32:33 +0100 |
commit | 904e0d72127ad029373dd6a6d6495e84ab7fcd4a (patch) | |
tree | 21c58872bb56848713b36268c657abc62e335d10 | |
parent | 2508d5051feba0072cd910c254ea308870b4fc41 (diff) | |
download | php-git-904e0d72127ad029373dd6a6d6495e84ab7fcd4a.tar.gz |
Skip on Travis-CI
The current doc states max ram for a test VM would be 7.5G, the
currently used container image has even less. This skip should be
revisited, as the available memory amount shifts. The way of checking
/proc/meminfo doesn't work reliably on containers at least, thus
skipping explicitly on Travis-CI makes sense.
-rw-r--r-- | ext/gmp/tests/gmp_setbit_long.phpt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/gmp/tests/gmp_setbit_long.phpt b/ext/gmp/tests/gmp_setbit_long.phpt index e27c4e5942..ce4e427132 100644 --- a/ext/gmp/tests/gmp_setbit_long.phpt +++ b/ext/gmp/tests/gmp_setbit_long.phpt @@ -1,6 +1,7 @@ --TEST-- gmp_setbit() with large index --SKIPIF-- +<?php if (getenv("TRAVIS") === "true") die("skip not suitable for Travis-CI"); ?> <?php if (!extension_loaded("gmp")) print "skip"; ?> <?php if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?> <?php if (getenv("SKIP_SLOW_TESTS")) die("skip slow test"); ?> |