Tobias Gritschacher has submitted this change and it was merged.
Change subject: Add PHP coveralls to TravisCI build
......................................................................
Add PHP coveralls to TravisCI build
Change-Id: Ie4aa1ede1cf6ee5d8bf3d983fc663e29d6e38441
---
A .coveralls.yml
M .gitignore
M .travis.sh
M .travis.yml
4 files changed, 11 insertions(+), 1 deletion(-)
Approvals:
Tobias Gritschacher: Verified; Looks good to me, approved
diff --git a/.coveralls.yml b/.coveralls.yml
new file mode 100644
index 0000000..f877d6d
--- /dev/null
+++ b/.coveralls.yml
@@ -0,0 +1,4 @@
+# for php-coveralls
+service_name: travis-ci
+src_dir: /
+coverage_clover: build/logs/clover.xml
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
index 7e1dcbc..89f459a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,6 @@
.*
*~
*.kate-swp
-.*.swp
!.gitignore
!.gitreview
@@ -11,9 +10,12 @@
!.travis.yml
!.travis.sh
+!.coveralls.yml
composer.phar
composer.lock
+
+build/
vendor/
selenium/configuration.yml
diff --git a/.travis.sh b/.travis.sh
index 30c4ca2..d3c43e1 100644
--- a/.travis.sh
+++ b/.travis.sh
@@ -31,6 +31,7 @@
echo '$wgWBClientSettings["siteGlobalID"] = "enwiki";' >> LocalSettings.php
cd extensions/Wikibase
+composer require satooshi/php-coveralls:dev-master
composer install
cd ../..
diff --git a/.travis.yml b/.travis.yml
index 7258408..0a07ce7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -31,6 +31,9 @@
- cd ../phase3/tests/phpunit
- ./phpunit.php --group Wikibase --exclude-group ChangeHandlerTest
+after_script:
+ - php vendor/bin/coveralls -v
+
notifications:
email:
recipients:
--
To view, visit https://gerrit.wikimedia.org/r/75091
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie4aa1ede1cf6ee5d8bf3d983fc663e29d6e38441
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <[email protected]>
Gerrit-Reviewer: Tobias Gritschacher <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits