Updating Travis CI config and skipping tests for 32-bit builds.

This commit is contained in:
Ben Ramsey
2012-08-06 20:06:02 -05:00
parent 33f3b14e35
commit 38193ef0c4
2 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -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');
}