From 6dd09a62800f4907a4b25b8647698c0930f98b11 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Fri, 7 Aug 2015 15:10:52 +0200 Subject: add empty test to not fail --- .travis.yml | 3 +-- bin/git/hooks/pre-commit | 3 +++ tests/integration/db/FeedMapperTest.php | 1 - 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6325a5ebd..7508bff37 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,8 +17,7 @@ matrix: env: matrix: - - DB=mysql - - CORE_BRANCH=stable8.1 + - DB=mysql CORE_BRANCH=stable8.1 before_install: # get a newer node.js version diff --git a/bin/git/hooks/pre-commit b/bin/git/hooks/pre-commit index 881895787..1b1e16bce 100755 --- a/bin/git/hooks/pre-commit +++ b/bin/git/hooks/pre-commit @@ -1,5 +1,8 @@ #!/bin/bash +# exit if any test fails +set -e + phpunit -c phpunit.xml phpunit -c phpunit.integration.xml cd js diff --git a/tests/integration/db/FeedMapperTest.php b/tests/integration/db/FeedMapperTest.php index 82e4fbf70..3f554fcfe 100644 --- a/tests/integration/db/FeedMapperTest.php +++ b/tests/integration/db/FeedMapperTest.php @@ -17,7 +17,6 @@ class FeedMapperTest extends NewsIntegrationTest { public function testFind () { - $this->assertFalse(true); } -- cgit v1.2.3