Corrected test error

This commit is contained in:
Florian Bouillon 2019-04-17 01:43:19 +02:00
parent 0a724f9dc6
commit 51aba20c00
2 changed files with 3 additions and 3 deletions

View File

@ -44,10 +44,10 @@ build:
phpmd: phpmd:
stage: test stage: test
script: script:
- composer run phpmd - php composer.phar run phpmd
phpcs: phpcs:
stage: test stage: test
script: script:
- php composer.phar run phpcs - php composer.phar run phpunit
- vendor/bin/codacycoverage clover tmp/code-coverage.xml - vendor/bin/codacycoverage clover tmp/code-coverage.xml

View File

@ -35,7 +35,7 @@
}, },
"scripts": { "scripts": {
"phpmd": "phpmd src/ text phpmd", "phpmd": "phpmd src/ text phpmd",
"phpcs": "phpcs --coverage-text --colors=never", "phpunit": "phpunit --coverage-text --colors=never",
"test": "composer run phpmd && composer run phpcs" "test": "composer run phpmd && composer run phpcs"
} }
} }