File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11image : lovullo/php-ci
22
3- stages :
4- - dependencies
5- - validate
6- - test
7- - analysis
8- - compile
9- - deploy
10-
11- composer :
12- stage : dependencies
13- script :
14- # Install dependencies via Composer
15- - composer install -o
16- artifacts :
17- paths :
18- - vendor/
19- expire_in : 10 min
20-
21- check-mergeconflicts :
22- stage : validate
23- script :
24- - ant check_mergeconflicts
25- before_script : []
26-
27- phplint :
28- stage : validate
29- script :
30- - ant phplint
31- before_script : []
32-
33- phpunit :
34- stage : test
35- script :
36- - ant phpunit
37- before_script : []
38-
39- phpcs :
40- stage : analysis
41- script :
42- - ant phpcs
43- before_script : []
44-
45- phpmd :
46- stage : analysis
47- script :
48- - ant phpmd
49- before_script : []
50-
51- phpcpd :
52- stage : analysis
53- script :
54- - ant phpcpd
55- before_script : []
3+ include :
4+ - ' http://devops.pages.lovullo.com/shared-pipelines/jobs-common.yml'
5+ - ' http://devops.pages.lovullo.com/shared-pipelines/jobs-composer-install.yml'
6+ - ' http://devops.pages.lovullo.com/shared-pipelines/jobs-php-static-analysis.yml'
7+
8+ variables :
9+ phpunit_config : " test/"
10+ phpcs_ignore : " vendor/,test/"
11+ phpmd_ignore : " vendor/,test/"
5612
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" ?>
22<project name =" libliza-php" default =" build" >
3- <property name =" phpunitconfig" value =" ${ basedir } /test/" />
4- <property name =" phpcsignore" value =" vendor/,test/" />
5- <property name =" phpmdignore" value =" vendor/,test/" />
6-
7- <import file =" ${ basedir } /vendor/lovullo/phpqaconfig/build.xml" />
8-
93
104 <target name =" build"
115 description =" Compile all dependent code" >
126 <!-- nothing yet -->
137 </target >
148
15-
169 <target name =" setup"
1710 description =" Perform initial repository setup tasks" >
1811 <exec dir =" ${ basedir } "
2417 <antcall target =" build" />
2518 </target >
2619
27-
2820 <!-- standard target in Makefiles -->
2921 <target name =" check"
3022 description =" Run tests"
31- depends =" phpunit, diagram-chk" />
32-
23+ depends =" diagram-chk" />
3324
3425 <!-- alias for check -->
3526 <target name =" test"
3627 description =" Run tests"
3728 depends =" check" />
3829
39-
4030 <target name =" diagram-chk"
4131 description =" QA check on diagrams" >
4232 <exec executable =" build-aux/diagram-chk" />
4838 <arg line =" -s 1500 -e build/class-uml.png doc/diagrams/class-uml.dia" />
4939 </exec >
5040 </target >
51- </project >
5241
42+ </project >
Original file line number Diff line number Diff line change 11{
22 "name" : " lovullo/libliza-php" ,
33 "description" : " PHP client for the Liza Data Collection Framework" ,
4- "version" : " 0.7.0 " ,
4+ "version" : " 0.7.1 " ,
55 "type" : " project" ,
66 "keywords" : [ " liza" ],
77 "license" : " GPL-3.0+" ,
1212 }
1313 },
1414 "require" : {
15- "php" : " >=5.3.3" ,
16- "lovullo/phpqaconfig" : " @stable"
15+ "php" : " >=5.3.3"
16+ },
17+ "require-dev" : {
18+ "phpunit/phpunit" : " >=4.7"
1719 }
1820}
You can’t perform that action at this time.
0 commit comments