title: Wordpress CI in Gitlab
body: <p>Is there any reference of Implementing WorPress <strong>(WP_UnitTestCase)</strong> using Gitlab CI?</p>
  
  <p>I have already tried configuring the <code>.gitlab-ci.yml</code>, it implements the build, but no test are runned.</p>
  
  <p>This is the .gitlab-ci.yml file:</p>
  
  <pre><code>image: php:5.6
  
  variables:
    # Configure mysql service (https://hub.docker.com/_/mysql/)
    MYSQL_DATABASE: wordpress_tests
    MYSQL_ROOT_PASSWORD: mysql
  
  before_script:
    # Install dependencies
    - bash ci/docker_install.sh wordpress_tests root mysql tutum-wordpress latest
  
  stages:
    - test
  
  # test:PHP5.3:MySQL:
  #   image: tetraweb/php:5.3
  #   script:
  #   - phpunit --configuration phpunit.xml.dist
  
  test:PHP5.4:MySQL:
    image: tetraweb/php:5.4
    services:
    - tutum/wordpress:latest
    script:
    - phpunit --configuration phpunit.xml.dist
  
  # test:PHP5.6:MySQL:
  #   image: php:5.6
  #   script:
  #   - phpunit --configuration phpunit.xml.dist
  
  # test:PHP7:MySQL:
  #   image: php:7
  #   script:
  #   - phpunit --configuration phpunit.xml.dist
  </code></pre>