Commit 81dce673 authored by Anton Smirnov's avatar Anton Smirnov
Browse files

Remove code climate

parent c223d3f5
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -5,23 +5,13 @@ php:
  - '7.3'
  - '7.4'
  - nightly
env:
  global:
    - GIT_COMMITTED_AT=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then git log -1 --pretty=format:%ct; else git log -1 --skip 1 --pretty=format:%ct; fi)
matrix:
  allow_failures:
    - php: nightly
cache:
  directories:
    - $HOME/.composer/cache/files
before_script:
  - 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
install:
  - if [ $(php -r 'echo PHP_MAJOR_VERSION;') == "8" ]; then composer install --ignore-platform-reqs; else composer install; fi
script:
  - vendor/bin/phpunit tests --coverage-clover clover.xml --whitelist src
after_script:
  # only if generated
  - if [ -f clover.xml ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT; fi
+1 −3
Original line number Diff line number Diff line
@@ -3,9 +3,7 @@ PHP Bencode Encoder/Decoder

[![Packagist](https://img.shields.io/packagist/v/sandfoxme/bencode.svg)](https://packagist.org/packages/sandfoxme/bencode)
[![Packagist](https://img.shields.io/github/license/sandfoxme/bencode.svg)](https://opensource.org/licenses/MIT)
[![Travis](https://img.shields.io/travis/sandfoxme/bencode.svg)](https://travis-ci.org/sandfoxme/bencode)
[![Code Climate](https://img.shields.io/codeclimate/c/sandfoxme/bencode.svg)](https://codeclimate.com/github/sandfoxme/bencode/coverage)
[![Code Climate](https://img.shields.io/codeclimate/maintainability/sandfoxme/bencode.svg)](https://codeclimate.com/github/sandfoxme/bencode)
[![Travis](https://img.shields.io/travis/arokettu/bencode.svg)](https://travis-ci.org/sandfoxme/bencode)

[Bencode] is the encoding used by the peer-to-peer file sharing system
[BitTorrent] for storing and transmitting loosely structured data.