Skip to content

Commit

Permalink
Enable PHP 5.6 testing, enable PHPCS, pull test dependencies via Comp…
Browse files Browse the repository at this point in the history
…oser
  • Loading branch information
mbabker committed Aug 29, 2014
1 parent 27bd082 commit f37b175
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.gitattributes export-ignore
.gitignore export-ignore
.gitmodules export-ignore
.travis/ export-ignore
.travis.yml export-ignore
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule ".travis/phpcs/Joomla"]
path = .travis/phpcs/Joomla
url = git://github.com/joomla/coding-standards.git
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ php:
- 5.3
- 5.4
- 5.5
- 5.6

before_script:
- composer update --dev

script:
- phpunit
- ./vendor/bin/phpunit
- ./vendor/bin/phpcs -p --report=full --extensions=php --standard=.travis/phpcs/Joomla/ruleset.xml src/
1 change: 1 addition & 0 deletions .travis/phpcs/Joomla
Submodule Joomla added at a2ba65
10 changes: 7 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,14 @@
"php": ">=5.3.10",
"joomla/string": "~1.0"
},
"require-dev": {
"phpunit/phpunit": "4.*",
"squizlabs/php_codesniffer": "1.*"
},
"autoload": {
"psr-4": {
"Joomla\\Utilities\\": "src/",
"psr-4": {
"Joomla\\Utilities\\": "src/",
"Joomla\\Utilities\\Tests\\": "Tests/"
}
}
}
}

0 comments on commit f37b175

Please sign in to comment.