gitlab.ci.yml
before_script:
- composer install --prefer-dist > /dev/null
- export APP_ENV=dev
unitTesting:
script:
- echo "Running PHP Unit tet"
- php bin/phpunit --colors --debug --coverage-text
codeSniffer:
script:
- php bin/phpcs --config-set ignore_warnings_on_exit 1
- php bin/phpcs --standard=PSR2 --ignore=app/tests,app/Console/-w --colors app/
allow_failure: true
phpMess:
script:
- php bin/phpmd src/AppBundle text cleancode,controversial,codesize,design,naming,unusedcode --exclude=app/views,app/storage,app/tests,app/Console/
allow_failure: true