File: .travis.yml

Recommend this page to a friend!
  Classes of Manolo Salsas  >  PHP Budget Application API  >  .travis.yml  >  Download  
File: .travis.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Budget Application API
API to manage records of budget requests
Author: By
Last change:
Date: 6 months ago
Size: 1,075 bytes
 

Contents

Class file image Download
language: php
sudo: false
services:
    - sqlite
cache:
    directories:
        - $HOME/.composer/cache/files
        - $HOME/symfony-bridge/.phpunit

env:
    global:
        - PHPUNIT_FLAGS="-v"
        - SYMFONY_PHPUNIT_DIR="$HOME/symfony-bridge/.phpunit"

matrix:
    fast_finish: true
    include:
          # Minimum supported dependencies with the latest and oldest PHP version
        - php: 7.3
          env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" SYMFONY_DEPRECATIONS_HELPER="max[self]=0"

          # Test the latest stable release
        - php: 7.3
          env: COVERAGE=true PHPUNIT_FLAGS="-v --coverage-text"

          # Latest commit to master
        - php: 7.3
          env: STABILITY="dev"

    allow_failures:
          # Dev-master is allowed to fail.
        - env: STABILITY="dev"

before_install:
    - composer self-update
    - composer install

install:
    - composer install
    - php bin/console doctrine:database:create --env=test
    - php bin/console doctrine:migrations:migrate --env=test -q

script:
    - php ./bin/phpunit

For more information send a message to info at phpclasses dot org.