Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
aldas committed Mar 14, 2018
0 parents commit 7b82fbf
Show file tree
Hide file tree
Showing 20 changed files with 3,185 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.idea/

/vendor/
24 changes: 24 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
language: php

sudo: false

cache:
directories:
- $HOME/.composer/cache

php:
- 7.0
- 7.1
- 7.2

before_install:
- travis_retry composer self-update

install:
- travis_retry composer update --no-interaction

script:
- vendor/bin/phpunit --coverage-clover=coverage.xml

after_success:
- bash <(curl -s https://codecov.io/bash)
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Pure PHP RRDtool file reader

> Because on windows php ext-rrd can not read rrd files created on unix.
**Only meant to export data out of rrd file. Not support for consolidation function etc**

Original repository: http://javascriptrrd.sourceforge.net/
28 changes: 28 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "aldas/rrd-php-reader",
"description": "read rrd files purely using php",
"type": "library",
"license": "MIT",
"require": {
"php": "^7.0"
},
"require-dev": {
"phpunit/phpunit": "^7.0"
},
"autoload": {
"psr-4": {
"RrdPhpReader\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"scripts": {
"test": "vendor/bin/phpunit",
"test-unit": "vendor/bin/phpunit --testsuite 'unit-tests'",
"test-ci": "vendor/bin/phpunit --coverage-clover report/coverage.xml",
"test-coverage": "vendor/bin/phpunit --coverage-html report/html"
}
}
Loading

0 comments on commit 7b82fbf

Please sign in to comment.