keboola/syrup-component-bundle

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
branches:
  only:
    - master
sudo: false
language: php
php:
  - '5.6'
  - '5.4'
services:
  - mysql
  - elasticsearch
before_script:
  - mysql -e 'create database syrup;'
  - curl -sS --fail https://getcomposer.org/installer | php 
  - php -d memory_limit=-1 composer.phar install -n --no-scripts
script:
  - ./vendor/bin/phpcs --standard=psr2 --ignore=vendor -n .
#  - ./vendor/bin/phpmd src/ text codesize,unusedcode,naming,phpmd.xml
  - ./vendor/bin/phpunit
after_script:
  - ./codeclimate.sh
notifications:
  slack:
    secure: I73TdwZCz04fIrLIM8kctaZd6uyVhqBZXs1L6wFC2lhyUFX+L5kxKRldOyBrQp1v5SL+wkuok+CBPmqxa1e75fWYA7Zsi/VpH+XFnG2zCjuq1+v9wXjiWMVp75aL24kcsm6WiXqqpEIrpnaO99+nXDuT9+Os/+0COW0wN1sfwjg=