forked from fntneves/laravel-transactional-events
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (26 loc) · 760 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
language: php
matrix:
exclude:
- php: 7.0
env: LARAVEL_VERSION=5.6.* TESTBENCH_VERSION=3.6.*
- php: 7.0
env: LARAVEL_VERSION=5.7.* TESTBENCH_VERSION=3.7.*
php:
- 7.0
- 7.1
- 7.2
cache:
directories:
- ./vendor
- $HOME/.composer/cache
env:
- LARAVEL_VERSION=5.5.* TESTBENCH_VERSION=3.5.*
- LARAVEL_VERSION=5.6.* TESTBENCH_VERSION=3.6.*
- LARAVEL_VERSION=5.7.* TESTBENCH_VERSION=3.7.*
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: phpunit