forked from pluginsGLPI/formcreator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
55 lines (49 loc) · 1.26 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
image: composer
services:
- mysql:latest
variables:
DB_HOST: mysql
MYSQL_ROOT_USER: root
MYSQL_ROOT_PASSWORD: root
GLPI_SOURCE: "https://github.com/glpi-project/glpi"
GLPI_BRANCH: master
CS: "7.4"
DB_USER: "glpi"
DB_PASSWD: "glpi"
DB_NAME: "glpitest"
OLD_DB_NAME: "glpiupgradetest"
PLUGINNAME: "formcreator"
AFTER_SUCCESS_BRANCH: "master"
ATOUM_ARG: "--force-terminal --use-dot-report"
NOCOVERAGE: "-ncc"
COVERAGE: "--nccfc CommonTreeDropdown CommonDropdown CommonDBTM CommonGLPI CommonDBConnexity CommonDBRelation CommonDBChild"
PANTHER_CHROME_DRIVER_BINARY: "chromedriver"
SKIP_INIT: "false"
SKIP_FRESH_GLPI_INSTALL: "false"
SKIP_UPGRADE_GLPI_INSTALL: "false"
SKIP_INSTALL_PLUGIN_DEPENDENCIES: "false"
SKIP_UPGRADE_TESTS: "false"
SKIP_INSTALL_TESTS: "false"
SKIP_TESTS: "false"
SKIP_FUNCTIONAL_TESTS: "true"
SKIP_UNINSTALLL_TESTS: "false"
SKIP_LINT_TESTS: "false"
SKIP_CS_TESTS: "false"
SKIP_PANTHER_INSTALL: "true"
stages:
- test
test:
image: php:7.4-cli
stage: test
before_script:
- tests/docker_install.sh
- tests/yarn.sh
- tests/composer.sh
- php --version
- composer --version
- mysql --version
- yarn --version
- composer install
variables:
script:
- tests/testall.sh