Skip to content

Commit

Permalink
initial code commit with tests
Browse files Browse the repository at this point in the history
  • Loading branch information
danomatic committed Jul 4, 2016
1 parent 5a77fea commit e776cab
Show file tree
Hide file tree
Showing 6 changed files with 2,396 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.DS_STORE
.DS_Store
nbproject/
.idea/
composer.phar
/vendor/

# Commit your application's lock file http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file
# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file
# composer.lock
composer.lock
17 changes: 17 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
language: php

php:
- 5.4
- 5.5
- 5.6
- hhvm

services:
- mysql
- postgresql

before_script:
- composer self-update
- composer install --prefer-source --no-interaction --dev

script: phpunit
24 changes: 24 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "dabl/orm",
"description": "SQL table datamapper classes",
"license": "MIT",
"keywords": ["database", "abstraction", "orm", "propel", "dabl", "sql", "query"],
"authors": [
{
"name": "Manifest Web Design",
"email": "[email protected]"
}
],
"require": {
"dabl/adapter": "1.0.*",
"dabl/query": "1.0.*"
},
"require-dev": {
"phpunit/phpunit": "4.8.*"
},
"autoload": {
"psr-4": {
"Dabl\\Orm\\": "src"
}
}
}
17 changes: 17 additions & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false">
<testsuites>
<testsuite name="Dabl ORM Test Suite">
<directory suffix=".php">./tests/</directory>
</testsuite>
</testsuites>
</phpunit>
Loading

0 comments on commit e776cab

Please sign in to comment.