Commit 9ed27442 authored by Jan Kuchař's avatar Jan Kuchař

added CI

parent 30991ada
image: grifart/php7.1-with-gulp-and-all-php-modules
stages:
- build
- test
build.composer:
stage: build
script:
- composer install
artifacts:
paths:
- vendor
expire_in: 10 days
test.verify:
stage: test
script:
- composer run verify
......@@ -5,6 +5,16 @@
"require": {
"php": ">=7.1"
},
"scripts": {
"verify": [
"@syntax-check",
"@phpstan",
"@tester"
],
"syntax-check": "vendor/bin/parallel-lint src tests",
"phpstan": "vendor/bin/phpstan analyze --ansi --no-progress --no-interaction --level max src",
"tester": "vendor/bin/tester tests"
},
"require-dev": {
"nette/tester": "^2.1",
"phpstan/phpstan": "^0.10.5",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment