Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

[WIP] Add PHPCS and PHPCov #44

Open
wants to merge 1 commit into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,17 @@ php:

install:
- cp -a .env-example .env
- composer install --no-interaction
- composer install --prefer-dist --no-interaction

before_script:
- ./vendor/bin/phpcs

script:
- ./vendor/bin/phpunit

after_success:
- docker build -t tanibox/tania -f docker/app/Dockerfile --build-arg BUILD_DATE="$(date +%Y-%m-%d)" .

branches:
only:
only:
- development
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,10 @@
},
"require-dev": {
"phpunit/phpunit": "6.2",
"phpunit/phpcov": "4.0",
"sensio/generator-bundle": "^3.0",
"symfony/phpunit-bridge": "^3.0"
"symfony/phpunit-bridge": "^3.0",
"squizlabs/php_codesniffer": "3.*"
},
"scripts": {
"symfony-scripts": [
Expand Down
Loading