mirror of
https://github.com/danielstjules/Stringy.git
synced 2025-08-31 16:51:57 +02:00
44 lines
976 B
YAML
44 lines
976 B
YAML
language: php
|
|
|
|
php:
|
|
- hhvm
|
|
|
|
# This triggers builds to run on the new TravisCI infrastructure.
|
|
# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
|
|
sudo: false
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
include:
|
|
- php: 5.3
|
|
env: polyfill='true'
|
|
- php: 5.3
|
|
env: polyfill='false'
|
|
- php: 5.4
|
|
env: polyfill='true'
|
|
- php: 5.4
|
|
env: polyfill='false'
|
|
- php: 5.5
|
|
env: polyfill='true'
|
|
- php: 5.5
|
|
env: polyfill='false'
|
|
- php: 5.6
|
|
env: polyfill='true'
|
|
- php: 5.6
|
|
env: polyfill='false'
|
|
- php: 7.0
|
|
env: polyfill='true'
|
|
- php: 7.0
|
|
env: polyfill='false'
|
|
|
|
install: travis_retry composer install --no-interaction --prefer-source
|
|
|
|
before_script:
|
|
- travis_retry composer self-update
|
|
- travis_retry composer install --no-interaction --prefer-source
|
|
- if [[ $polyfill = 'false' ]]; then travis_retry composer remove symfony/polyfill-mbstring; fi
|
|
|
|
script:
|
|
- vendor/bin/phpunit
|
|
|