33 lines
704 B
YAML
33 lines
704 B
YAML
|
language: php
|
||
|
|
||
|
sudo: false
|
||
|
|
||
|
php:
|
||
|
- 5.6
|
||
|
- 7.0
|
||
|
- 7.1
|
||
|
|
||
|
env:
|
||
|
global:
|
||
|
- setup=basic
|
||
|
|
||
|
matrix:
|
||
|
fast_finish: true
|
||
|
include:
|
||
|
- php: 5.6
|
||
|
env: setup=lowest
|
||
|
- php: 5.6
|
||
|
env: setup=stable
|
||
|
|
||
|
|
||
|
before_install:
|
||
|
- composer self-update
|
||
|
- composer clear-cache
|
||
|
|
||
|
install:
|
||
|
- if [[ $setup = 'basic' ]]; then travis_retry composer update --no-interaction --prefer-dist --no-suggest; fi
|
||
|
- if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable --no-suggest; fi
|
||
|
- if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable --no-suggest; fi
|
||
|
|
||
|
script: vendor/bin/phpunit
|