Skip to content

Commit

Permalink
improve travis
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaasuni committed Aug 21, 2016
1 parent cd735bf commit 1f1d8aa
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
24 changes: 16 additions & 8 deletions .travis.yml
Expand Up @@ -22,6 +22,16 @@ matrix:
allow_failures:
- php: nightly

addons:
apt:
packages:
- devscripts
- debhelper
- pkg-config
- alien
- rpm
- dh-make

services:
- mysql
- memcached
Expand All @@ -48,15 +58,13 @@ script:
- make qa_all
- make report

after_success:
- cat ./target/report/phploc.txt
- cat ./target/report/phpcompatinfo.txt

after_failure:
- cat ./target/logs/junit.xml
- cat ./target/report/phpcpd.txt

after_script:
- "echo 'coverage_clover: target/coverage/coverage.xml' >> .coveralls.yml"
- "echo 'json_path: target/coverage/coveralls-upload.json' >> .coveralls.yml"
- if [ "$TRAVIS_PHP_VERSION" = "5.6" ]; then php vendor/bin/coveralls -v; fi;
after_success:
- cat ./target/report/phploc.txt
- cat ./target/report/phpcompatinfo.txt
- "echo 'coverage_clover: target/coverage/coverage.xml' >> .coveralls.yml"
- "echo 'json_path: target/coverage/coveralls-upload.json' >> .coveralls.yml"
- if [ "$TRAVIS_PHP_VERSION" = "5.6" ]; then php vendor/bin/coveralls -v; fi;
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
2.10.0
2.10.2

0 comments on commit 1f1d8aa

Please sign in to comment.