File: .travis.yml

Recommend this page to a friend!
  Classes of José Miguel Moreno  >  Facturae PHP  >  .travis.yml  >  Download  
File: .travis.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Facturae PHP
Generate XML electronic bills paid in Spain
Author: By
Last change: Actualizado Travis

- Migrado proyecto de travis-ci.org a travis-ci.com
- Cambiada matriz de versiones de PHP
Tests reducidos para PRs

Actualizada configuración de Travis CI para no mandar coverage ni probar servicios web en Pull Requests
Tests de FACe (#47)

- Añadida subida y cancelación de factura a FACe
- Actualizado Travis CI para hacer los tests de WS solo una vez por build
Actualizado Travis CI

- Deshabilitadas notificaciones
- Añadido PHP nightly a matriz de builds
Actualizada configuración de Travis CI

- Añadidas más versiones de PHP
- Envío de coverage solo una vez por build
- Añadido directorio "/build" al gitignore
Date: 2 months ago
Size: 915 bytes
 

Contents

Class file image Download
# Let's start with the basics: this is a PHP project
language: php

# Disable email notifications for all builds
notifications:
  email: false

# Run on top of a few versions to check compatibility
matrix:
  fast_finish: true
  include:
    - php: 5.6
    - php: 7.0
    - php: 7.1
    - php: 7.2
    - php: 7.3
      env: SEND_COVERAGE=1 TEST_WEBSERVICES=1
    - php: 7.4
    - php: nightly
  allow_failures:
    - php: nightly

# Prepare environment
before_install:
  - if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then unset SEND_COVERAGE; unset TEST_WEBSERVICES; fi

# Install Composer package before testing
install:
  - composer install --no-interaction

# Run PHPUnit tests
script:
  - php vendor/bin/phpunit --coverage-clover build/coverage/xml

# Send coverage to Codacy (just once per build)
after_success:
  - if [ "$SEND_COVERAGE" == "1" ]; then php vendor/bin/codacycoverage clover build/coverage/xml; fi

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