daikon-cqrs/flysystem-adapter

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
language: php

php:
  - 7.4
  - 8.0

os: linux
dist: bionic

env:
  global:
    CC_TEST_REPORTER_ID=a4765e9b7afa3e5ef3f1860c61ab57b56bedc1f13df6ce6394cd13bd236b668c

install:
  - curl -s http://getcomposer.org/installer | php -- --filename=composer
  - chmod +x composer
  - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > cc-test-reporter
  - chmod +x cc-test-reporter
  - wget -q https://scrutinizer-ci.com/ocular.phar
  - composer install --no-interaction

before_script:
  - ./cc-test-reporter before-build

script:
  - composer build

after_script:
  - php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
  - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

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