Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
begin conversion to composer package
- Loading branch information
Showing
14 changed files
with
2,884 additions
and
1,227 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
.buildpath | ||
.settings/* | ||
.project | ||
|
||
/vendor/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
--- | ||
dist: trusty | ||
sudo: false | ||
|
||
language: php | ||
|
||
php: | ||
- 5.6 | ||
- 7.0 | ||
|
||
addons: | ||
apt: | ||
sources: | ||
- sourceline: 'ppa:mike42/mdcheckr' | ||
packages: | ||
- mdcheckr | ||
|
||
install: | ||
- composer install | ||
|
||
before_script: | ||
- printf "\n" | pecl install imagick | ||
|
||
script: | ||
# Check all PHP files with phpcs | ||
- php vendor/bin/phpcs --standard=psr2 --ignore=vendor -n . | ||
# Check all *.md files in git with mdcheckr | ||
- git ls-files | grep '\.md$' | tr '\n' '\0' | xargs -0 mdcheckr | ||
# Execute unit tests | ||
- php vendor/bin/phpunit | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"name": "mike42/wikitext", | ||
"description": "PHP wikitext parser", | ||
"type": "library", | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Michael Billington", | ||
"email": "michael.billington@gmail.com" | ||
} | ||
], | ||
"require-dev": { | ||
"phpunit/phpunit": "^6.5" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Mike42\\" : "src/Mike42" | ||
} | ||
} | ||
} |
Oops, something went wrong.