Skip to content
Snippets Groups Projects
Commit 9ed27442 authored by Jan Kuchař's avatar Jan Kuchař
Browse files

added CI

parent 30991ada
Branches
Tags
No related merge requests found
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 @@ ...@@ -5,6 +5,16 @@
"require": { "require": {
"php": ">=7.1" "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": { "require-dev": {
"nette/tester": "^2.1", "nette/tester": "^2.1",
"phpstan/phpstan": "^0.10.5", "phpstan/phpstan": "^0.10.5",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment