Squashed commit of the following:
authorMichael Wallner <mike@php.net>
Thu, 15 Sep 2016 06:18:57 +0000 (08:18 +0200)
committerMichael Wallner <mike@php.net>
Thu, 15 Sep 2016 06:18:57 +0000 (08:18 +0200)
commit 788a59093cd72295f7c122f453e693a624038cac
Author: Michael Wallner <mike@php.net>
Date:   Thu Sep 15 08:18:14 2016 +0200

    flush

commit e6eb81c90406275f1b27df1ba9ccaa6987980bf8
Author: Michael Wallner <mike@php.net>
Date:   Thu Sep 15 07:59:57 2016 +0200

    checking if we really need this

commit 9cb4ac2e1003aa2aa6465854cb99382b447db2bb
Author: Michael Wallner <mike@php.net>
Date:   Thu Sep 15 07:44:14 2016 +0200

    cd src/.libs

commit ec71e1dbf561a6ce1b6b46b027f0e013a8dc2209
Author: Michael Wallner <mike@php.net>
Date:   Wed Sep 14 22:43:35 2016 +0200

    try to locate gcno files

commit 4889271cdaeaf8dc4445523d04b8d95779b13af9
Author: Michael Wallner <mike@php.net>
Date:   Wed Sep 14 21:31:25 2016 +0200

    anothertry

commit 28e3c60b50fa25f459ed6255298483f6210cc317
Author: Michael Wallner <mike@php.net>
Date:   Wed Sep 14 19:39:50 2016 +0200

    manually run gcov

commit 61d159102918e99ac4c674d597fdc12c490850eb
Author: Michael Wallner <mike@php.net>
Date:   Wed Sep 14 19:12:35 2016 +0200

    codecov

.codecov.yml [new file with mode: 0644]
.gitignore
.travis.yml
codecov.yml [deleted file]
scripts/gen_travis_yml.php
travis/pecl

diff --git a/.codecov.yml b/.codecov.yml
new file mode 100644 (file)
index 0000000..cc9294d
--- /dev/null
@@ -0,0 +1,5 @@
+coverage:
+  notify:
+    gitter:
+      default:
+        url: https://webhooks.gitter.im/e/1f4b7664dcf58cc46314
index 348538c..4f36007 100644 (file)
@@ -111,3 +111,4 @@ php_http_url.h
 php_http_utf8.h
 php_http_version.h
 >>>>>>> v2.6.x
+*.gcov
index 261ec65..78dbc23 100644 (file)
@@ -29,7 +29,7 @@ env:
  - PHP=7.0 enable_debug=yes enable_maintainer_zts=yes enable_json=yes enable_hash=yes enable_iconv=yes
  - PHP=master enable_debug=yes enable_maintainer_zts=yes enable_json=yes enable_hash=yes enable_iconv=yes
 # once with gcov
- - CFLAGS="-O0 -fprofile-arcs -ftest-coverage" PHP=master enable_json=yes enable_hash=yes enable_iconv=yes 
+ - CFLAGS="-O0 -g --coverage" CXXFLAGS="-O0 -g --coverage" PHP=master enable_json=yes enable_hash=yes enable_iconv=yes 
 
 before_script:
  - make -f travis/pecl/Makefile php
@@ -40,10 +40,10 @@ before_script:
 script:
  - make -f travis/pecl/Makefile test
 
-after_script:
+after_failure:
  - test -e tests/helper/server.log && cat tests/helper/server.log
 after_success:
- - test -n "$CFLAGS" && bash <(curl -s https://codecov.io/bash)
+ - test -n "$CFLAGS" && cd src/.libs && bash <(curl -s https://codecov.io/bash) -X xcode -X coveragepy
 
 sudo: false
 notifications:
diff --git a/codecov.yml b/codecov.yml
deleted file mode 100644 (file)
index cc9294d..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-coverage:
-  notify:
-    gitter:
-      default:
-        url: https://webhooks.gitter.im/e/1f4b7664dcf58cc46314
index fbfae50..213c5f4 100755 (executable)
@@ -30,7 +30,7 @@ foreach ($env as $e) {
 
 ?>
 # once with gcov
- - CFLAGS="-O0 -fprofile-arcs -ftest-coverage" PHP=master enable_json=yes enable_hash=yes enable_iconv=yes 
+ - CFLAGS="-O0 -g --coverage" CXXFLAGS="-O0 -g --coverage" PHP=master enable_json=yes enable_hash=yes enable_iconv=yes 
 
 before_script:
  - make -f travis/pecl/Makefile php
@@ -41,10 +41,10 @@ before_script:
 script:
  - make -f travis/pecl/Makefile test
 
-after_script:
+after_failure:
  - test -e tests/helper/server.log && cat tests/helper/server.log
 after_success:
- - test -n "$CFLAGS" && bash <(curl -s https://codecov.io/bash)
+ - test -n "$CFLAGS" && cd src/.libs && bash <(curl -s https://codecov.io/bash) -X xcode -X coveragepy
 
 sudo: false
 notifications:
index 23c2876..2d06b8b 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 23c2876aaa0808bcfedc1c5c30da6e8234341a13
+Subproject commit 2d06b8b6eba14eb26f4e6b5d0eac19569ef1611c