Revize 6f6156eb
Přidáno uživatelem Tomáš Ballák před asi 4 roky(ů)
.gitlab-ci.yml | ||
---|---|---|
3 | 3 |
|
4 | 4 |
stages: |
5 | 5 |
- test |
6 |
- linter |
|
6 | 7 |
- build |
7 | 8 |
- deploy |
8 | 9 |
|
... | ... | |
14 | 15 |
- cd website |
15 | 16 |
- composer require --dev symfony/phpunit-bridge |
16 | 17 |
- php bin/phpunit |
17 |
|
|
18 |
php_linter: |
|
19 |
stage: linter |
|
20 |
tags: |
|
21 |
- linter |
|
22 |
script: |
|
23 |
- cd website |
|
24 |
- composer require --dev squizlabs/php_codesniffer |
|
25 |
- ./vendor/bin/php-cs-fixer fix --dry-run --config .php_cs --stop-on-violation --using-cache=no |
|
18 | 26 |
build: |
19 | 27 |
stage: build |
20 | 28 |
tags: |
... | ... | |
34 | 42 |
name: heatmap |
35 | 43 |
url: https://heatmap.zcu.cz |
36 | 44 |
script: |
37 |
- ssh root@heatmap.zcu.cz "cd ~ && rm -rf aswi2020sebela && git clone https://gitlab.kiv.zcu.cz/aswi/aswi-2020/aswi2020sebela.git && cd aswi2020sebela && ./build.sh && exit" |
|
45 |
- ssh root@heatmap.zcu.cz "cd ~ && rm -rf aswi2020sebela && git clone https://gitlab.kiv.zcu.cz/aswi/aswi-2020/aswi2020sebela.git && cd aswi2020sebela && ./scripts/build.sh && exit"
|
|
38 | 46 |
only: |
39 | 47 |
- master |
40 | 48 |
when: manual |
Také k dispozici: Unified diff
Feature #7743 Setup for development environment