switch travis to php 7.0

don't fail on deprecated function warnings
remove debug
This commit is contained in:
bwdutton
2020-02-01 15:14:07 -08:00
parent 761de1b42f
commit 6a686d3b03
3 changed files with 5 additions and 3 deletions
+4 -1
View File
@@ -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
@@ -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;
@@ -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