Skip to content
This repository has been archived by the owner on Nov 16, 2020. It is now read-only.

Commit

Permalink
Merge pull request #50 from AudithSoftworks/phpcov
Browse files Browse the repository at this point in the history
Fix to phpcov script.
  • Loading branch information
shehi committed May 5, 2017
2 parents 85abd62 + 66e15d2 commit 71a4d88
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,10 @@ script:

after_script:
- docker exec basis_php${PHP_VERSION}-cli_1 /bin/bash -c "pkill sc";
- if [[ $PHP_VERSION == 7 && $DB_CONNECTION == 'mysql' ]]; then wget https://scrutinizer-ci.com/ocular.phar; php ocular.phar code-coverage:upload --format=php-clover ./storage/coverage/merged/coverage.xml; fi
- if [[ $PHP_VERSION == 7 && $DB_CONNECTION == 'mysql' ]]; then wget https://scrutinizer-ci.com/ocular.phar; php ocular.phar code-coverage:upload --format=php-clover ./storage/coverage/coverage-clover-merged; fi

notifications:
hipchat: f504f9e2e6696c17589a7b49f4ce05@Audith.Basis
slack:
rooms:
- audith:S5sZNDhaq1BnqBMNk4UunAnz#github-ci-logs
2 changes: 1 addition & 1 deletion storage/build/scripts/ci/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ docker exec basis_php${PHP_VERSION}-cli_1 /bin/bash -c "
ls -l ./storage/framework/views/twig ./storage/logs;
sudo chmod -R 0777 ./storage/framework/views ./storage/logs;
./vendor/bin/phpcov merge ./storage/coverage --html ./storage/coverage/merged/
./vendor/bin/phpcov merge ./storage/coverage --clover ./storage/coverage/coverage-clover-merged.xml
ls -l ./storage/framework/views/twig ./storage/logs;
sudo chmod -R 0777 ./storage/framework/views ./storage/logs;
Expand Down

0 comments on commit 71a4d88

Please sign in to comment.