ReadOnlyTraitLaravel/.travis.yml

30 lines
631 B
YAML
Raw Normal View History

2016-03-28 11:15:08 -07:00
language: php
php:
- 5.5.9
- 5.5
- 5.6
- 7.0
- hhvm
env:
global:
- setup=basic
matrix:
include:
- php: 5.5.9
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
before_script:
- cp .env.example .env
- php artisan key:generate
script: ./vendor/bin/kahlan -reporter=verbose