forked from Drenso/symfony-oidc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
executable file
·63 lines (54 loc) · 1.09 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
56
57
58
59
60
61
62
63
stages:
- prepare
- cs-fix
- lint
- deploy
include:
# Prepare
- project: 'intern/runner-templates'
ref: "4.0"
file: '/symfony/install-dependencies.yml'
# CS fix
- project: 'intern/runner-templates'
ref: "5.3"
file: '/php/code-style-fixer.yml'
# Lint
- project: 'intern/runner-templates'
ref: "4.0"
file: '/php/phan.yml'
- project: 'intern/runner-templates'
ref: "4.0"
file: '/php/composer-require-checker.yml'
- project: 'intern/runner-templates'
ref: "4.0"
file: '/php/composer-unused.yml'
- project: 'intern/runner-templates'
file: '/deploy/deploy.yml'
ref: "4.0"
install-dependencies:
before_script:
- /bin/true
except:
- master
- tags
composer-require-checker:
except:
- master
- tags
composer-unused:
before_script:
- curl -JOL https://github.com/composer-unused/composer-unused/releases/download/0.7.7/composer-unused.phar
except:
- master
- tags
php-analysis:
except:
- master
- tags
deploy-staging:
only:
- master
- branches
deploy-production:
only:
- tags