PHP Classes
elePHPant
Icontem

File: .travis.yml

Recommend this page to a friend!
  Classes of Michal Kowalik  >  TCPDF Warper  >  .travis.yml  >  Download  
File: .travis.yml
Role: Auxiliary data
Content type: text/plain
Description: travis config
Class: TCPDF Warper
Create PDF documents using TCPDF fluent interface
Author: By
Last change: travis detect first build
travis temporary show variables
echo travis job id
Code Complete code coverage final
CodeClimate coverage report - fix 3
CodeClimate coverage report - fix 2
CodeClimate coverage report
Date: 3 years ago
Size: 1,038 bytes
 

Contents

Class file image Download
language: php
php:
    - 5.6
    - 5.5
    - 5.4
    - 7.0
    - hhvm
    - nightly

matrix:
    allow_failures:
        - php: hhvm
        - php: nightly

env:
    - TCPDF_PACKAGE="tecnickcom/tcpdf"    TCPDF_VERSION="*"
    - TCPDF_PACKAGE="tecnickcom/tcpdf"    TCPDF_VERSION="6.1.x"
    - TCPDF_PACKAGE="onigoetz/fpdi_tcpdf" TCPDF_VERSION="*"

install:
    - composer self-update
    - rm -rf composer.json composer.lock
    - cp build/travis.composer.json composer.json
    - composer install --dev
    - echo ${TCPDF_PACKAGE}:${TCPDF_VERSION}
    - composer require ${TCPDF_PACKAGE}:${TCPDF_VERSION}
    - composer show -i

script:
    - ./vendor/bin/phpunit --configuration ./build/travis.phpunit.xml

after_script:
    - if [[ "$TRAVIS_JOB_NUMBER" == *.1 ]]; then ./vendor/bin/test-reporter --coverage-report=./tests/report/clover.xml; else echo "Build was not elected to send code coverage report to Code Climate"; fi

addons:
    code_climate:
        repo_token: 913ac39b3783061de84315a48dcd0dfdc9bb8cc0f95c342df840608734336ea7