angelxmoreno/cakephp-simplecache-bridge

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
language: php

php:
  - 5.6
  - 7.0
  - 7.1
  - 7.2
  - hhvm-nightly
  - nightly

before_install:
  - echo "Running BeforeInstall"

before_script:
  - echo "Running BeforeScript"
  - composer self-update
  - composer install --no-interaction

script:
  - echo "RunningScript"
  - composer tests:clover

after_success:
  - echo "Running AfterSuccess"

after_script:
  - echo "Running AfterScript"
  - echo "Sending coverage report to CodeClimate using CODECLIMATE_REPO_TOKEN"
  - ./bin/test-reporter --coverage-report=clover.xml
  - echo "Sending coverage report to Codacy using CODACY_PROJECT_TOKEN"
  - ./bin/codacycoverage clover clover.xml

matrix:
  fast_finish: true
  allow_failures:
      - php: 7.0
      - php: 7.1
      - php: 7.2
      - php: hhvm-nightly
      - php: nightly

# Customize when the notification emails are sent.
notifications:
    on_success: never
    on_failure: never

cache:
  directories:
    - vendor
    - $HOME/.composer/cache