-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
37 lines (33 loc) · 749 Bytes
/
.gitlab-ci.yml
File metadata and controls
37 lines (33 loc) · 749 Bytes
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
# Automatic build and test against SugarCRM 7.X
# Push to github on success.
stages:
- test
- build
- publish
phpunit:
stage: test
script:
- composer install --quiet -o
- bin/phpunit --color=never
phar:
stage: build
script:
- composer install --no-dev --quiet -o
- mkdir build
- ulimit -Sn 4096
- php -dphar.readonly=0 bin/box build
artifacts:
paths:
- build/sugarcli.phar
mirror:
stage: publish
only:
- master
script:
- git push git@github.com:inetprocess/sugarcli.git HEAD:master
mirror_tags:
stage: publish
only:
- tags
script:
- git push --tags git@github.com:inetprocess/sugarcli.git