Compare commits
3 Commits
e5c5d9c8d2
...
f9f341c5ea
Author | SHA1 | Date |
---|---|---|
wpetit | f9f341c5ea | |
wpetit | 366a82bd9a | |
wpetit | dbca54429b |
|
@ -0,0 +1,32 @@
|
|||
image: php:7.4-alpine
|
||||
|
||||
cache:
|
||||
paths:
|
||||
- frontend/node_modules
|
||||
- backend/vendor
|
||||
|
||||
before_script:
|
||||
- apk add --no-cache nodejs npm php composer php-mbstring php-iconv php-json php-openssl php-pdo php-xml php-tokenizer php-ctype
|
||||
- ( cd backend && composer install )
|
||||
- ( cd frontend && npm install )
|
||||
|
||||
stages:
|
||||
- lint
|
||||
- test
|
||||
|
||||
BackendLint:
|
||||
stage: lint
|
||||
script:
|
||||
- cd backend && ./vendor/bin/grumphp run
|
||||
allow_failure: true
|
||||
|
||||
FrontendLint:
|
||||
stage: lint
|
||||
script:
|
||||
- cd frontend && npm run lint
|
||||
allow_failure: true
|
||||
|
||||
FrontendTest:
|
||||
stage: test
|
||||
script:
|
||||
- cd frontend && npm test
|
|
@ -18,6 +18,7 @@
|
|||
},
|
||||
"require-dev": {
|
||||
"doctrine/doctrine-fixtures-bundle": "^3.3",
|
||||
"phpro/grumphp-shim": "^0.18.0",
|
||||
"symfony/maker-bundle": "^1.14",
|
||||
"symfony/web-server-bundle": "4.4.*"
|
||||
},
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "b8a24c5421258bb04d461c7dd0498820",
|
||||
"content-hash": "20f7ea4403b5653bae4a750e7d399e5f",
|
||||
"packages": [
|
||||
{
|
||||
"name": "doctrine/annotations",
|
||||
|
@ -4335,6 +4335,61 @@
|
|||
],
|
||||
"time": "2019-11-08T13:50:10+00:00"
|
||||
},
|
||||
{
|
||||
"name": "phpro/grumphp-shim",
|
||||
"version": "v0.18.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/phpro/grumphp-shim.git",
|
||||
"reference": "81a84da47cc825c208b4664857977fbfbf71f0f6"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/phpro/grumphp-shim/zipball/81a84da47cc825c208b4664857977fbfbf71f0f6",
|
||||
"reference": "81a84da47cc825c208b4664857977fbfbf71f0f6",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"composer-plugin-api": "~1.0",
|
||||
"ext-json": "*",
|
||||
"php": "^7.1"
|
||||
},
|
||||
"replace": {
|
||||
"phpro/grumphp": "self.version"
|
||||
},
|
||||
"require-dev": {
|
||||
"humbug/box": "^3.8"
|
||||
},
|
||||
"bin": [
|
||||
"grumphp",
|
||||
"grumphp.phar"
|
||||
],
|
||||
"type": "composer-plugin",
|
||||
"extra": {
|
||||
"class": "GrumPHP\\Composer\\GrumPHPPlugin"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"GrumPHP\\": "src"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Toon Verwerft",
|
||||
"email": "toon.verwerft@phpro.be"
|
||||
},
|
||||
{
|
||||
"name": "Community",
|
||||
"homepage": "https://github.com/phpro/grumphp/graphs/contributors"
|
||||
}
|
||||
],
|
||||
"description": "GrumPHP Phar distribution",
|
||||
"time": "2020-02-25T18:05:09+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/maker-bundle",
|
||||
"version": "v1.14.3",
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
parameters:
|
||||
tasks:
|
||||
phpstan: ~
|
|
@ -126,6 +126,9 @@
|
|||
"php": {
|
||||
"version": "7.4"
|
||||
},
|
||||
"phpro/grumphp-shim": {
|
||||
"version": "v0.18.0"
|
||||
},
|
||||
"psr/cache": {
|
||||
"version": "1.0.1"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue