PHP Classes

File: .travis.yml

Recommend this page to a friend!
  Classes of Slawomir Kaleta  >  Dframe MyMail  >  .travis.yml  >  Download  
File: .travis.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Dframe MyMail
Compose and send email messages using PHPMailer
Author: By
Last change: Resolved #8, Add support for 7.4
Update .travis.yml
Resolved #4, Update To PHPMailer 6.x
Date: 1 year ago
Size: 711 bytes
 

Contents

Class file image Download
language: php
php:
  - 7.2
  - 7.3
  - 7.4


# We don't want to run linux commands as super user
sudo: false

# Tell Travis CI to monitor only 'master' branch
branches:
only: master

install:
   composer install

script: phpunit

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -y -qq postfix

before_script:
  - sudo service postfix stop
  - smtp-sink -d "%d.%H.%M.%S" localhost:2500 1000 &
  - echo -e '#!/usr/bin/env bash\nexit 0' | sudo tee /usr/sbin/sendmail
  - echo 'sendmail_path = "/usr/sbin/sendmail -t -i "' | sudo tee "/home/travis/.phpenv/versions/`php -i | grep "PHP Version" | head -n 1 | grep -o -P '\d+\.\d+\.\d+.*'`/etc/conf.d/sendmail.ini"

notifications:
  email: false
For more information send a message to info at phpclasses dot org.