diff --git a/.travis.yml b/.travis.yml index ae59d20e..3dc335ff 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: php php: - - 5.6 + - 7.0 branches: only: @@ -8,6 +8,9 @@ branches: - 3.1.x - master +notifications: + email: false + services: - mysql diff --git a/modules/gallery/tests/Xss_Security_Test.php b/modules/gallery/tests/Xss_Security_Test.php index deeea750..6f78bb6f 100644 --- a/modules/gallery/tests/Xss_Security_Test.php +++ b/modules/gallery/tests/Xss_Security_Test.php @@ -29,7 +29,6 @@ class Xss_Security_Test extends Gallery_Unit_Test_Case { } } -print "checking view $view\n"; $frame = null; $script_block = 0; $in_script_block = false; diff --git a/modules/gallery_unit_test/controllers/gallery_unit_test.php b/modules/gallery_unit_test/controllers/gallery_unit_test.php index 6b2bf479..23435801 100644 --- a/modules/gallery_unit_test/controllers/gallery_unit_test.php +++ b/modules/gallery_unit_test/controllers/gallery_unit_test.php @@ -25,7 +25,7 @@ class Gallery_Unit_Test_Controller extends Controller { // Force strict behavior to flush out bugs early ini_set("display_errors", true); - error_reporting(-1); + error_reporting(E_ALL & ~E_DEPRECATED); // Jump through some hoops to satisfy the way that we check for the site_domain in // config.php. We structure this such that the code in config will leave us with a