notifications:
  email:
    on_success: never 
    on_failure: never 

language: php
php:
  - 7.2
  - 7.1

before_script:
  - echo Start travis
  - echo Current dir is `pwd`
  - echo Home dir is `echo ~`
  - wget https://scrutinizer-ci.com/ocular.phar
  - cd ..
  - git clone git://github.com/squizlabs/PHP_CodeSniffer.git
  - php PHP_CodeSniffer/bin/phpcs -h
  - php PHP_CodeSniffer/bin/phpcbf -h
  - phpenv rehash

script:
  - php PHP_CodeSniffer/bin/phpcs -i
  - php PHP_CodeSniffer/bin/phpcs --standard=/home/travis/build/thulin82/innebandybokning/.phpcs.xml
  - cd innebandybokning
  - phpunit
  
after_script:
  - php ocular.phar code-coverage:upload --format=php-clover coverage.clover
notifications:
  email:
    on_success: never 
    on_failure: never 

language: php
php:
  - 7.2
  - 7.1

before_script:
  - echo Start travis
  - wget https://scrutinizer-ci.com/ocular.phar
  - make composer-install
  - phpenv rehash

script:
  - make test
  
after_script:
  - php ocular.phar code-coverage:upload --format=php-clover coverage.clover
Use Makefile when building/testing on Travis
Use Makefile when building/testing on Travis
