Skip to content

Commit

Permalink
Skip on Travis-CI
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
weltling committed Jan 3, 2018
1 parent 2508d50 commit 904e0d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/gmp/tests/gmp_setbit_long.phpt
Original file line number Diff line number Diff line change
@@ -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"); ?>
Expand Down

0 comments on commit 904e0d7

Please sign in to comment.