1
0
mirror of https://github.com/nerzhul/ocsms.git synced 2025-07-03 20:56:34 +00:00
ocsms/lib/vendor/giggsey/locale/.travis.yml
Greg Ross 6e86c48486 Updated phone formatter (#241)
* Add locale and libphonenumber libraries.

* Update country code information

Updated existing country codes, fixed incorrect NANP codes for member countries (as well as several UK based ones).

Also added in Country Name to ISO country code mapping array for use with libphonenumber.

* Convert phone number formatting to use libphonenumber

libphonenumber parses phone number more consistantly than the old regex's that mismatched number on a regular basis.
2018-06-26 09:49:22 +02:00

36 lines
890 B
YAML

sudo: false
language: php
matrix:
fast_finish: true
include:
# Need to use Trusty for PHP 5.3
- php: 5.3
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest"
dist: precise
- php: 5.4
- php: 5.5
- php: 5.6
- php: 7.0
- php: 7.1
- php: 7.2
# Use the newer stack for HHVM as HHVM does not support Precise
- php: hhvm
dist: trusty
before_script:
- travis_retry composer update --no-interaction $COMPOSER_FLAGS
- mkdir -p build/logs
script:
- ./vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml
after_script:
- php vendor/bin/coveralls -v --exclude-no-stmt
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
notifications:
irc: "irc.appliedirc.com#applied"