PHP Classes

File: .travis.yml

Recommend this page to a friend!
  Classes of Subin Siby  >  PHPF  >  .travis.yml  >  Download  
File: .travis.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHPF
Reformat PHP scripts according to code style
Author: By
Last change:
Date: 5 years ago
Size: 1,396 bytes
 

Contents

Class file image Download
matrix: include: # Linux - os: linux language: php php: '5.6' - os: linux language: php php: '7.0' - os: linux language: php php: '7.1' - os: linux language: php php: 'nightly' before_script: - if [[ $TRAVIS_OS_NAME == 'osx' ]] ; then brew update ; fi; # travis image is quite old, update to have latest dependecies available - if [[ $TRAVIS_OS_NAME == 'osx' ]] ; then brew tap homebrew/dupes ; fi; - if [[ $TRAVIS_OS_NAME == 'osx' ]] ; then brew tap homebrew/versions ; fi; - if [[ $TRAVIS_OS_NAME == 'osx' ]] ; then brew tap homebrew/homebrew-php ; fi; - if [[ $TRAVIS_OS_NAME == 'osx' ]] ; then brew install ${OSX_PHP_VERSION} ; fi; # install PHP - if [[ $TRAVIS_OS_NAME == 'osx' ]] ; then curl -sS https://getcomposer.org/installer | php ; fi; # install composer - if [[ $TRAVIS_OS_NAME == 'osx' ]] ; then mv composer.phar /usr/local/bin/composer | php ; fi; # install composer globally - if [[ $TRAVIS_OS_NAME == 'osx' ]] ; then export PATH="$(brew --prefix homebrew/php/${OSX_PHP_VERSION})/bin:$PATH" ; fi; # app php to path - if [[ $TRAVIS_OS_NAME == 'osx' ]] ; then brew install coreutils ; fi; # truncate command: - composer self-update - composer require phpunit/phpunit:4.8.35 --prefer-dist --no-interaction --dev - composer update script: - vendor/bin/phpunit -c testing/phpunit.xml