Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pôle IS
Bundles Symfony 2
plantuml-bundle
Commits
82e994bf
Commit
82e994bf
authored
Jul 05, 2019
by
Guillaume Perréal
Browse files
CI: utilise les templates de pole-is/tools/ci-config.
parent
0a4bf3ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
82e994bf
stages
:
-
vendor
-
test
include
:
-
project
:
pole-is/tools/ci-config
ref
:
master
file
:
/php-ci.yml
variables
:
DEBIAN_FRONTEND
:
noninteractive
COMPOSER_CACHE_DIR
:
"
$CI_PROJECT_DIR/.composer-cache"
PHP_VERSION
:
"
7.1"
phploc
:
extends
:
.php-test
.php
:
&php
tags
:
[
docker
]
image
:
"
gitlab-registry.irstea.fr/pole-is/docker/php:stretch-${PHP_VERSION}"
before_script
:
-
php -v
-
composer -V
test:lint:
extends
:
.php-test
vendor
:
<<
:
*php
stage
:
vendor
dependencies
:
[]
script
:
composer install --no-suggest --no-progress
artifacts
:
name
:
"
$CI_JOB_NAME"
paths
:
[
vendor
]
expire_in
:
4 hours
cache
:
key
:
"
$CI_BUILD_REF_NAME-composer"
paths
:
[
"
$COMPOSER_CACHE_DIR"
]
test:php-cs-fixer:
extends
:
.php-test
.php-test
:
&php-test
<<
:
*php
stage
:
test
dependencies
:
[
vendor
]
script
:
composer ${CI_JOB_NAME}
test:phpcpd:
extends
:
.php-test
phploc
:
{
<<
:
*php-test
}
test:phpmd:
extends
:
.php-test
test:lint: { <<
:
*php-test
}
test:php-cs-fixer: { <<
:
*php-test
}
test:phpcpd: { <<
:
*php-test
}
test:phpmd: { <<
:
*php-test
}
test:composer-require-checker: { <<
:
*php-test
}
test:composer-require-checker:
extends
:
.php-test
test:phpstan:
<<
:
*
php-test
extends
:
.
php-test
allow_failure
:
true
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment