PHP Classes
elePHPant
Icontem

File: .travis.yml

Recommend this page to a friend!
  Classes of Wolfy-J  >  spiral  >  .travis.yml  >  Download  
File: .travis.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: spiral
Modular Web application development framework
Author: By
Last change: fixing travis
testing travis
testing travis
testing travis
working with travis
?
Date: 3 months ago
Size: 983 bytes
 

 

Contents

Class file image Download
language: php

php:
  - 7.1
  - 7.2
  - 7.3

before_install:
  - composer self-update

install:
  - PROTOBUF_VERSION=3.7.0
  - PROTOC_FILENAME=protoc-${PROTOBUF_VERSION}-linux-x86_64.zip
  - pushd /home/travis
  - wget https://github.com/google/protobuf/releases/download/v${PROTOBUF_VERSION}/${PROTOC_FILENAME}
  - unzip ${PROTOC_FILENAME}
  - bin/protoc --version
  - popd
  - GRPC_VERSION=1.0.7
  - PHP_GRPC_FILENAME=protoc-gen-php-grpc-${GRPC_VERSION}-linux-amd64.tar.gz
  - pushd /home/travis
  - wget https://github.com/spiral/php-grpc/releases/download/v${GRPC_VERSION}/${PHP_GRPC_FILENAME}
  - tar -xf ${PHP_GRPC_FILENAME} protoc-gen-php-grpc-${GRPC_VERSION}-linux-amd64/protoc-gen-php-grpc
  - mv protoc-gen-php-grpc-${GRPC_VERSION}-linux-amd64/protoc-gen-php-grpc bin/protoc-gen-php-grpc
  - popd
  - composer install --no-interaction

script:
  - vendor/bin/phpunit --coverage-clover=coverage.xml

after_success:
  - bash <(curl -s https://codecov.io/bash) -f coverage.xml