ReadOnlyTraitLaravel/.travis.yml
jifer 5627a5523c Small refactor (#18)
* Refactor for PSR-2 Formatting standard and PHP DockBlock standard.

* Setting real php requirement (full param casting is available since php7)

* php 7 for travis
2017-12-11 14:10:25 -08:00

23 lines
589 B
YAML

language: php
php:
- 7.0
env:
global:
- setup=basic
matrix:
include:
- php: 7.0
sudo: false
install:
- if [[ $setup = 'basic' ]]; then travis_retry composer install --no-interaction --prefer-source; fi
- if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-source --no-interaction --prefer-stable; fi
- if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-source --no-interaction --prefer-lowest --prefer-stable; fi
script:
- ./vendor/bin/kahlan -reporter=verbose
- ./vendor/friendsofphp/php-cs-fixer/php-cs-fixer fix src/