PHP Classes

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 a
- 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: 1 year ago
Size: 915 bytes


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

# Disable email notifications for all builds
  email: false

# Run on top of a few versions to check compatibility
  fast_finish: true
    - php: 5.6
    - php: 7.0
    - php: 7.1
    - php: 7.2
    - php: 7.3
    - php: 7.4
    - php: nightly
    - php: nightly

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

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

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

# Send coverage to Codacy (just once per build)
  - 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.