eidng8/sttbot

View on GitHub
.gitlab-ci.yml

Summary

Maintainability
Test Coverage
image: php:7.1

cache:
  key: "$CI_PROJECT_PATH"
  paths:
    - vendor/

before_script:
  - apt-get update -yqq
  - apt-get install git -yqq
  - curl --location --output /usr/local/bin/phpunit https://phar.phpunit.de/phpunit.phar
  - chmod +x /usr/local/bin/phpunit
  - curl --silent --show-error https://getcomposer.org/installer | php
  - php composer.phar install --no-progress
  - pecl install xdebug-2.5.0
  - docker-php-ext-enable xdebug


test:
  script:
    - phpunit -d memory_limit=512m --coverage-text --colors=never