forked from fntneves/laravel-transactional-events
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (27 loc) · 763 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
language: php
php:
- 7.1
- 7.2
- 7.3
- 7.4
cache:
directories:
- ./vendor
- $HOME/.composer/cache
env:
- LARAVEL_VERSION=5.8.* TESTBENCH_VERSION=3.8.*
- LARAVEL_VERSION=6.* TESTBENCH_VERSION=4.*
- LARAVEL_VERSION=7.* TESTBENCH_VERSION=5.*
matrix:
exclude:
- php: 7.1
env: LARAVEL_VERSION=6.* TESTBENCH_VERSION=4.*
- php: 7.1
env: LARAVEL_VERSION=7.* TESTBENCH_VERSION=5.*
before_script:
- composer self-update
- composer require "laravel/framework:${LARAVEL_VERSION}" "orchestra/testbench:${TESTBENCH_VERSION}" --no-update
- if [ "$PHPUNIT_VERSION" != "" ]; then composer require "phpunit/phpunit:${PHPUNIT_VERSION}" --no-update; fi;
- composer update
- mkdir -p build/logs
script: vendor/bin/phpunit