techno-express/mailreader

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
language: php

php:
    - 7.1

env:
    - MYSQL_HOST=127.0.0.1 MYSQL_USER=root

services:
    - mysql

before_script:
    - composer self-update
    - composer require php-coveralls/php-coveralls
    - mysql -e 'CREATE DATABASE IF NOT EXISTS ez_test;'
    - mysql -e "CREATE USER ez_test@localhost IDENTIFIED BY 'ezTest'; GRANT ALL ON ez_test.* TO ez_test@localhost; FLUSH PRIVILEGES;"

after_success:
    - bash <(curl -s https://codecov.io/bash)

script:
    - vendor/bin/phpunit --coverage-clover=coverage.xml