Saturday, 31 December 2016

Staying Compliant with Google Adsense Program Policies

Source : Staying Compliant with Google Adsense Program Policies
Published On : December 31, 2016 at 03:46PM
By : Collins Agbonghama

I got a mail from the Google Adsense team stating one or more pages of this blog aren’t compliant with their policies.

The email was titled Google AdSense: Action required to comply with AdSense program policies. An excerpt of the content below.

—————————————————————————————————————
Hello,
This is a warning message to alert you that there is action required to bring your AdSense account into compliance with our AdSense program policies.…



For More Go to : W3Guy – Diary of a Programmer, Writer & Geek

Labels:

Friday, 23 December 2016

How to Setup PHPunit Code Coverage in GitLab

Source : How to Setup PHPunit Code Coverage in GitLab
Published On : December 23, 2016 at 01:38PM
By : Collins Agbonghama

In a previous post, i showed us how to set up automated testing for your PHP application. If you are using the .gitlab-ci.yml configuration i posted, chances are you will get the below notice in your build log.

No code coverage driver is available

The notice is as a result of missing Xdebug PHP extension.

To install and enable Xdebug, add the commands below to the before_script: section of your project .gitlab-ci.yml

# Install Xdebug
- pecl install xdebug

# Enable Xdebug
- docker-php-ext-enable xdebug

Having done the above, go to your project settings and open the CI/CD pipelines screen.…



For More Go to : W3Guy – A Geek's Diary

Labels:

Wednesday, 21 December 2016

Setting up Automated PHP Testing on GitLab CI

Source : Setting up Automated PHP Testing on GitLab CI
Published On : December 21, 2016 at 03:12PM
By : Collins Agbonghama

I recently moved to GitLab from GitHub for private project hosting to save money. Another major deciding factor was GitLab CI, a free hosted continuous integration server which further save me more money which otherwise would have be spent on a Travis CI subscription.

In this tutorial, i will quickly go over the steps in setting up automated unit/integration testing with PHPUnit on GitLab CI.…



For More Go to : W3Guy – A Geek's Diary

Labels: