Skip to content

Commit

Permalink
run unit tests on PHP >= 7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Gjero Krsteski committed Jan 25, 2017
1 parent c5fe0ea commit 8423c0a
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 14 deletions.
12 changes: 6 additions & 6 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ tools:

# Code Coverage
external_code_coverage:
enabled: true
enabled: false
filter:
excluded_paths:
- 'tests/*'
Expand All @@ -23,8 +23,8 @@ tools:
command: phploc
excluded_dirs:
- tests


# PHP Mess Detector (http://phpmd.org).
php_mess_detector:
enabled: true
Expand All @@ -38,15 +38,15 @@ tools:
filter:
excluded_paths:
- 'tests/*'


# Analyzes the size and structure of a PHP project.
php_pdepend:
enabled: true
command: pdepend
excluded_dirs:
- tests

# Runs Scrutinizer's PHP Analyzer Tool
php_analyzer:
enabled: true
Expand Down
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,24 @@ php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1

sudo: false

matrix:
include:
- php: 5.5.9
env: setup=lowest
- php: 5.5.9
env: setup=stable
- php: 7.0
env: setup=stable
allow_failures:
- php: 5.6
- php: 7.0
- php: 7.1
fast_finish: true

before_script:
- phpenv rehash
Expand Down
3 changes: 1 addition & 2 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@ Introduction
============

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

[![Build Status](https://travis-ci.org/gjerokrsteski/php-dba-cache.png?branch=master)](https://travis-ci.org/gjerokrsteski/php-dba-cache)
[![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/)
[![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)
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/gjerokrsteski/php-dba-cache/trend.png)](https://bitdeli.com/free "Bitdeli Badge")


Available options
Expand Down
6 changes: 0 additions & 6 deletions app/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,12 +154,6 @@ function flash_msg(&$check, $msg)
padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
}

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

0 comments on commit 8423c0a

Please sign in to comment.