chippyash/Monad

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
# see http://about.travis-ci.org/docs/user/languages/php/ for more hints
language: php
#possible workaround for https://github.com/composer/composer/issues/6342

# list any PHP version you want to test against
php:
  # aliased to a recent 8.x version
  - 8.0
  # hhvm
  #- hhvm

# omitting "script:" will default to phpunit
# use the $DB env variable to determine the phpunit.xml to use
before_script:
  - composer install --no-interaction
  - mkdir -p build/logs
  - 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/phpunit/phpunit/phpunit --configuration ./phpunit.travis.xml test

after_success:
  - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

# configure notifications (email, IRC, campfire etc)
notifications:
  email: "ashley@zf4.biz"