-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
48 lines (38 loc) · 1.18 KB
/
.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
37
38
39
40
41
42
43
44
45
46
47
48
language: php
sudo: false
dist: xenial
cache:
directories:
- $HOME/.composer/cache
matrix:
fast_finish: true
include:
# Laravel 5.5
- php: 7.2
env: LARAVEL=5.5.* TESTBENCH=3.5.* PHPUNIT=^6.0
name: Laravel 5.5 @ PHP 7.2
- php: 7.3
env: LARAVEL=5.5.* TESTBENCH=3.5.* PHPUNIT=^6.0
name: Laravel 5.5 @ PHP 7.3
# Laravel 5.7
- php: 7.2
env: LARAVEL=5.7.* TESTBENCH=3.7.* PHPUNIT=^7.5
name: Laravel 5.7 @ PHP 7.2
- php: 7.3
env: LARAVEL=5.7.* TESTBENCH=3.7.* PHPUNIT=^7.5
name: Laravel 5.7 @ PHP 7.3
# Laravel 5.8
- php: 7.2
env: LARAVEL=5.8.* TESTBENCH=3.8.* PHPUNIT=^8.0
name: Laravel 5.8 @ PHP 7.2
- php: 7.3
env: LARAVEL=5.8.* TESTBENCH=3.8.* PHPUNIT=^8.0
name: Laravel 5.8 @ PHP 7.3
before_install:
- composer self-update --stable --no-interaction
- composer require friendsofphp/php-cs-fixer orchestra/testbench:$TESTBENCH phpunit/phpunit:$PHPUNIT --no-update --no-interaction --dev
install:
- travis_retry composer install --no-suggest --no-interaction
script:
- vendor/bin/php-cs-fixer fix -v --diff --dry-run
- vendor/bin/phpunit --verbose --configuration phpunit.xml.dist