File tree Expand file tree Collapse file tree 3 files changed +25
-1
lines changed Expand file tree Collapse file tree 3 files changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -26,3 +26,8 @@ install:
26
26
27
27
script :
28
28
- bin/phing ci-build
29
+
30
+ after_success :
31
+ - wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.0/coveralls.phar
32
+ && php coveralls.phar --verbose --config build/coveralls.yml
33
+ || true
Original file line number Diff line number Diff line change 17
17
<property name =" path.root" value =" ${ project.basedir } " />
18
18
<property name =" path.src" value =" ${ path.root } /src" />
19
19
<property name =" path.tests" value =" ${ path.root } /tests" />
20
+ <property name =" path.tests.coverage.clover" value =" ${ path.build } /log/coverage/clover.xml" />
20
21
<property name =" path.tests.temp" value =" ${ path.tests } /temp" />
21
22
<property name =" path.vendor" value =" ${ path.root } /vendor" />
22
23
33
34
create-dirs,
34
35
phplint,
35
36
cs,
36
- tests
37
+ ci- tests
37
38
" />
38
39
40
+ <target name =" ci-tests" >
41
+ <exec
42
+ executable=" ${ path.phpunit.executable } "
43
+ logoutput=" true"
44
+ passthru=" true"
45
+ checkreturn=" true"
46
+ >
47
+ <arg value =" --configuration" />
48
+ <arg value =" ${ path.phpunit.configuration } " />
49
+ <arg value =" --coverage-clover" />
50
+ <arg value =" ${ path.tests.coverage.clover } " />
51
+ <arg path =" ${ path.tests } " />
52
+ </exec >
53
+ </target >
54
+
39
55
<target name =" composer" depends =" composer-validate" >
40
56
<exec
41
57
executable=" ${ path.composer.executable } "
Original file line number Diff line number Diff line change
1
+ coverage_clover : build/log/coverage/clover.xml
2
+ json_path : build/log/coverage/coveralls-upload.json
3
+ service_name : travis-ci
You can’t perform that action at this time.
0 commit comments