File: .travis.yml

Recommend this page to a friend!
  Classes of Junior Grossi  >  Corcel (Laravel + WordPress)  >  .travis.yml  >  Download  
File: .travis.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Corcel (Laravel + WordPress)
Use the WordPress backend with any PHP application
Author: By
Last change: chore: use pcov for running test coverage
chore: use phpdbg for code coverage
chore: add php 7.4 to travis ci build
Date: 7 months ago
Size: 671 bytes


Class file image Download
language: php

  - 7.2
  - 7.3
  - 7.4

dist: trusty

  - if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then phpenv config-rm xdebug.ini || echo "xdebug not available"; fi
  - curl -L > ./cc-test-reporter
  - chmod +x ./cc-test-reporter
  - ./cc-test-reporter before-build

  - composer self-update
  - composer install

  - pecl install pcov
  - ./vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml

  - if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT; fi

For more information send a message to info at phpclasses dot org.