forked from anlutro/laravel-settings
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (29 loc) · 891 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
branches:
only: master
cache:
directories:
- $HOME/.cache/composer
language: php
php:
- 5.6
- 7.1
- 7.2
env:
# avoid slow dependency resolution specifically for laravel 4.1
- COMPOSER_REQS="laravel/framework:4.1.* illuminate/support:4.1.* phpunit/phpunit:5.7.* symfony/yaml:3.3.* symfony/filesystem:2.8.* symfony/event-dispatcher:2.8.*"
- COMPOSER_REQS="laravel/framework:4.2.*"
- COMPOSER_REQS="laravel/framework:5.1.*"
- COMPOSER_REQS="laravel/framework:5.5.*"
- COMPOSER_REQS="laravel/framework:>=5.7"
matrix:
exclude:
# laravel 5.5 and higher only supports php 7
- php: 5.6
env: COMPOSER_REQS="laravel/framework:5.5.*"
- php: 5.6
env: COMPOSER_REQS="laravel/framework:>=5.7"
install:
- composer require --no-update $COMPOSER_REQS
- composer update ${COMPOSER_ARGS} --no-interaction
script:
- vendor/bin/phpunit --verbose