PHP Classes

File: .travis.yml

Recommend this page to a friend!
  Classes of Francesco Danti  >  ATK4 FastRoute  >  .travis.yml  >  Download  
File: .travis.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: ATK4 FastRoute
Process HTTP requests using configured routes
Author: By
Last change:
Date: 3 years ago
Size: 875 bytes


Class file image Download
language: php

  - 7.2
  - 7.3

  - curl -s | php
  - php composer.phar install -n
  - composer require satooshi/php-coveralls:~1.0@stable # Require phpCoveralls
  - mkdir -p coverage/xml # Create a folder to store clover files #1
  - mkdir -p build/logs # Create a folder to store clover files #2
  - curl -L > ./cc-test-reporter
  - chmod +x ./cc-test-reporter
  - ./cc-test-reporter before-build

  - php vendor/bin/phpunit --coverage-clover build/logs/clover.xml

  - php vendor/bin/codacycoverage clover build/logs/clover.xml
  - sh -c 'if( [ "$TRAVIS_PHP_VERSION" != "hhvm" ] ); then php vendor/bin/coveralls -v; fi;'
  - ./cc-test-reporter after-build --coverage-input-type clover --exit-code $TRAVIS_TEST_RESULT
For more information send a message to info at phpclasses dot org.