Updated Gitlab CI to use composer

This commit is contained in:
2019-04-17 01:27:21 +02:00
parent 5848de0ec7
commit cd861a071a
3 changed files with 50 additions and 5 deletions

View File

@ -32,5 +32,10 @@
"phpunit/phpunit": "^8.1",
"codacy/coverage": "^1.4",
"phpmd/phpmd": "^2.6"
}
},
"scripts": {
"phpmd": "phpmd src/ text phpmd",
"phpcs": "phpcs --coverage-text --colors=never",
"test": "composer run phpmd && composer run phpcs"
}
}