language: php

php:
  - 7.3

before_script:
    - composer install
    - SUBJECT="/C=CL/title=PERSONA NATURAL/CN=NOMBRE DEL USUARIO/emailAddress=user@example.com/serialNumber=11222333-4"
    - openssl req -x509 -sha256 -nodes -days 1 -newkey rsa:2048 -keyout tests/firma.key -out tests/firma.crt -subj "$SUBJECT"
    - openssl pkcs12 -export -out tests/firma.p12 -inkey tests/firma.key -in tests/firma.crt -passout pass:test
    - rm tests/firma.key tests/firma.crt

script: phpunit --bootstrap tests/bootstrap.php tests


language: php

php:
  - 7.3

before_script:
    - composer install
    - SUBJECT="/C=CL/title=PERSONA NATURAL/CN=NOMBRE DEL USUARIO/emailAddress=user@example.com/serialNumber=11222333-4"
    - openssl req -x509 -sha256 -nodes -days 1 -newkey rsa:2048 -keyout tests/firma.key -out tests/firma.crt -subj "$SUBJECT"
    - openssl pkcs12 -export -out tests/firma.p12 -inkey tests/firma.key -in tests/firma.crt -passout pass:test
    - rm tests/firma.key tests/firma.crt

script: vendor/bin/phpunit --bootstrap tests/bootstrap.php tests


Fix para usar phpunit de composer
Fix para usar phpunit de composer
