mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-14 15:56:48 +03:00
Updating Travis CI config and skipping tests for 32-bit builds.
This commit is contained in:
+1
-1
@@ -6,6 +6,6 @@ php:
|
||||
|
||||
before_script:
|
||||
- curl -s http://getcomposer.org/installer | php -- --quiet
|
||||
- php composer.phar install
|
||||
- php composer.phar install --dev
|
||||
|
||||
script: phpunit -c phpunit.xml.dist
|
||||
|
||||
@@ -17,6 +17,13 @@ class UuidTypeTest extends PHPUnit_Framework_TestCase
|
||||
|
||||
protected function setUp()
|
||||
{
|
||||
// Skip these tests if run on a 32-bit build of PHP
|
||||
if (PHP_INT_SIZE == 4) {
|
||||
$this->markTestSkipped(
|
||||
'Running tests on a 32-bit build of PHP; 64-bit build required.'
|
||||
);
|
||||
}
|
||||
|
||||
$this->platform = new MockPlatform();
|
||||
$this->type = Type::getType('uuid');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user