Skip to content

Commit

Permalink
Merge pull request #424 from whikloj/psr2-and-tests
Browse files Browse the repository at this point in the history
Psr2 and tests.
  • Loading branch information
MarcusBarnes authored Jul 24, 2017
2 parents 830b54d + d3894df commit a432ff6
Show file tree
Hide file tree
Showing 106 changed files with 2,607 additions and 2,437 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ php:
- 7.0
branches:
only:
master
- master
before_install:
- travis_retry composer self-update
- composer install
script:
- phpunit --exclude-group inputvalidators --bootstrap vendor/autoload.php tests
- phpunit --group inputvalidators --bootstrap vendor/autoload.php tests
- composer test
after_success:
- bash <(curl -s https://codecov.io/bash)
13 changes: 12 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
"type": "project",
"description": "Move to Islandora Kit",
"autoload": {
"classmap": ["src/"]
"classmap": ["src/"],
"psr-4": {
"mik\\tests\\": "tests/",
"mik\\" : "src/"
}
},
"require-dev": {
"phpunit/phpunit":"4.8.*"
Expand All @@ -22,5 +26,12 @@
"cocur/background-process": "^0.5.0",
"nategood/commando": "*",
"twig/twig": "~1.0"
},
"scripts": {
"check": "phpcs --standard=PSR2 src tests",
"test": [
"@check",
"phpunit"
]
}
}
79 changes: 39 additions & 40 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a432ff6

Please sign in to comment.