PHP Classes
elePHPant
Icontem

File: .travis.yml

Recommend this page to a friend!
  Classes of Edgar Asatryan  >  YII2 notymo  >  .travis.yml  >  Download  
File: .travis.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: YII2 notymo
Send iOS and Android push notifications
Author: By
Last change:
Date: 2 years ago
Size: 796 bytes
 

 

Contents

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

sudo: false

cache:
  directories:
    - $HOME/.composer/cache

install:
    - chmod a+x mongodb-setup.sh
    - ./mongodb-setup.sh
    - composer install

services:
    - mysql
    - mongodb

addons:
  apt:
    sources:
      - mongodb-3.0-precise
    packages:
      - mongodb-org-server
      - mongodb-org-shell

before_script:
    - if [ $TRAVIS_PHP_VERSION = '5.6' ]; then PHPUNIT_FLAGS="--coverage-clover coverage.xml"; else PHPUNIT_FLAGS=""; fi
    - mysql -e 'create database notymo_test_db;'

script:
    - phpunit --verbose $PHPUNIT_FLAGS;

after_script:
  - if [ $TRAVIS_PHP_VERSION = '5.6' ]; then wget https://scrutinizer-ci.com/ocular.phar; php ocular.phar code-coverage:upload --format=php-clover coverage.xml; fi