spotonlive/laravel-google-ads

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
language: php

cache:
  directories:
    - $HOME/vendor

php:
  - 5.6
  - 7.1

before_script:
  - composer self-update
  - composer install
  - mv phpunit.xml.dist phpunit.xml
  - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
  - chmod +x ./cc-test-reporter
  - ./cc-test-reporter before-build

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

after_script:
  - ./cc-test-reporter after-build --coverage-input-type clover --exit-code $TRAVIS_TEST_RESULT