language: php
sudo: false
php:
  - 7
  - 5.6
  - 5.5
  - 5.4
install:
  - pear upgrade console_getopt
script:
  - umask 0022
  - sh scripts/pear.sh run-tests -q -d -r tests
  - pear package package2.xml

language: php
sudo: false
php:
  - 7
  - 5.6
  - 5.5
  - 5.4
install:
  - pear upgrade console_getopt archive_tar
  - pear install text_diff
  - sh scripts/pear.sh config-set umask 0022
  - sh scripts/pear.sh config-set umask 0022 system
script:
  - umask 0022
  - sh scripts/pear.sh run-tests -q -d -r tests
  - pear package package2.xml

Install php7-compatible archive_tar and text_diff
Install php7-compatible archive_tar and text_diff

Also fix umask problem on travis-ci: the php7 pear system config
 has a umask of 0002, but all other PHP versions have a PEAR umask
 setting of 0022. We adjust accordingly.
