Skip to content

Commit

Permalink
Alternative way of getting path to ini files
Browse files Browse the repository at this point in the history
  • Loading branch information
Synchro committed May 6, 2015
1 parent 409fa96 commit f2b21f0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ before_script:
- sudo mkdir -p /var/qmail/bin
- sudo cp fakesendmail.sh /var/qmail/bin/sendmail
- sudo cp fakesendmail.sh /usr/sbin/sendmail
- php --ini
- php -r 'echo PHP_VERSION;'
- echo 'sendmail_path = "/usr/sbin/sendmail -t -i "' | sudo tee "/home/travis/.phpenv/versions/`php -r 'if (PHP_VERSION) < \'7.0\') echo PHP_VERSION else echo \'7.0\';'`/etc/conf.d/sendmail.ini"
- echo 'sendmail_path = "/usr/sbin/sendmail -t -i "' > `php --ini|grep 'ini files in:'|cut -d : -f 2`'/sendmail.ini'
- pwd
- ls -al
script:
Expand Down

0 comments on commit f2b21f0

Please sign in to comment.