Skip to content

Commit 8423c0a

Browse files
author
Gjero Krsteski
committed
run unit tests on PHP >= 7.0
1 parent c5fe0ea commit 8423c0a

4 files changed

Lines changed: 25 additions & 14 deletions

File tree

.scrutinizer.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ tools:
55

66
# Code Coverage
77
external_code_coverage:
8-
enabled: true
8+
enabled: false
99
filter:
1010
excluded_paths:
1111
- 'tests/*'
@@ -23,8 +23,8 @@ tools:
2323
command: phploc
2424
excluded_dirs:
2525
- tests
26-
27-
26+
27+
2828
# PHP Mess Detector (http://phpmd.org).
2929
php_mess_detector:
3030
enabled: true
@@ -38,15 +38,15 @@ tools:
3838
filter:
3939
excluded_paths:
4040
- 'tests/*'
41-
42-
41+
42+
4343
# Analyzes the size and structure of a PHP project.
4444
php_pdepend:
4545
enabled: true
4646
command: pdepend
4747
excluded_dirs:
4848
- tests
49-
49+
5050
# Runs Scrutinizer's PHP Analyzer Tool
5151
php_analyzer:
5252
enabled: true

.travis.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,24 @@ php:
55
- 5.4
66
- 5.5
77
- 5.6
8+
- 7.0
9+
- 7.1
10+
11+
sudo: false
12+
13+
matrix:
14+
include:
15+
- php: 5.5.9
16+
env: setup=lowest
17+
- php: 5.5.9
18+
env: setup=stable
19+
- php: 7.0
20+
env: setup=stable
21+
allow_failures:
22+
- php: 5.6
23+
- php: 7.0
24+
- php: 7.1
25+
fast_finish: true
826

927
before_script:
1028
- phpenv rehash

README.markdown

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@ Introduction
22
============
33

44
The php-dba-cache uses the database (dbm-style) abstraction layer to cache/store your PHP objects,
5-
strings, integers or arrays. Even instances of SimpleXMLElement can be put to the cache. You dont
5+
strings, integers or arrays. Even instances of SimpleXMLElement can be put to the cache. You don`t
66
have to matter about the size of the cache-file. It depends on the free space of your disk.
77

88
[![Build Status](https://travis-ci.org/gjerokrsteski/php-dba-cache.png?branch=master)](https://travis-ci.org/gjerokrsteski/php-dba-cache)
99
[![Scrutinizer Quality Score](https://scrutinizer-ci.com/g/gjerokrsteski/php-dba-cache/badges/quality-score.png?s=05c35e93b4026539019555e034a9996839a3c658)](https://scrutinizer-ci.com/g/gjerokrsteski/php-dba-cache/)
1010
[![Dependency Status](https://www.versioneye.com/php/gjerokrsteski:php-dba-cache/dev-master/badge.png)](https://www.versioneye.com/php/gjerokrsteski:php-dba-cache/dev-master)
11-
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/gjerokrsteski/php-dba-cache/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
1211

1312

1413
Available options

app/index.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -154,12 +154,6 @@ function flash_msg(&$check, $msg)
154154
padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
155155
}
156156

157-
.memory-usage {
158-
min-height: 32px;
159-
max-height: 42px;
160-
text-align: center;
161-
vertical-align: middle;
162-
}
163157
</style>
164158
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.0/css/bootstrap-responsive.min.css" rel="stylesheet">
165159
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->

0 commit comments

Comments
 (0)