PHP Classes

File: .travis.yml

Recommend this page to a friend!
  Classes of Kashif Abbasi  >  PHP DI Container  >  .travis.yml  >  Download  
File: .travis.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP DI Container
Resolve dependencies from configuration files
Author: By
Last change: added support for php7.0
Date: 5 years ago
Size: 725 bytes
 

Contents

Class file image Download
sudo: false
language: php

matrix:
  fast_finish: true
  include:
    - php: 5.5
    - php: 5.6
    - php: 7.0
      env:
        - EXECUTE_TEST_COVERALLS=true
        - EXECUTE_CS_CHECK=true
    - php: 7
    - php: nightly
    - php: hhvm

before_install:
  - mkdir -p build/logs
  - composer self-update

install:
  - travis_retry composer install --no-interaction --ignore-platform-reqs

script:
  - ./vendor/bin/phpunit --version
  - if [[ $EXECUTE_TEST_COVERALLS != 'true' ]]; then vendor/bin/phpunit ; fi
  - if [[ $EXECUTE_TEST_COVERALLS == 'true' ]]; then vendor/bin/phpunit --coverage-clover=./build/logs/clover.xml; fi

after_script:
  - if [[ $EXECUTE_TEST_COVERALLS == 'true' ]]; then ./vendor/bin/coveralls ; fi
For more information send a message to info at phpclasses dot org.