Add php-cs-fixer and phpunit to build
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
3157d6a590
commit
006e5c8c10
@ -11,7 +11,9 @@ pages:
|
||||
script:
|
||||
- latesttag=$(git describe --tags)
|
||||
- git checkout ${latesttag}
|
||||
- php composer.phar install
|
||||
- php composer.phar install -o --no-interaction --no-progress --prefer-dist
|
||||
- php vendor/bin/php-cs-fixer fix --verbose --dry-run
|
||||
- vendor/bin/phpunit --bootstrap app/tests/bootstrap.php --debug app/tests
|
||||
- mkdir tpl_c
|
||||
- zip -r latest.zip .
|
||||
- mkdir .public
|
||||
|
@ -64,7 +64,8 @@
|
||||
},
|
||||
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^5.7"
|
||||
"phpunit/phpunit": "^5.7",
|
||||
"friendsofphp/php-cs-fixer": "~2.0"
|
||||
},
|
||||
|
||||
"autoload": {
|
||||
|
1062
composer.lock
generated
1062
composer.lock
generated
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user