Skip to content
This repository was archived by the owner on Jun 10, 2024. It is now read-only.

Commit ec6b695

Browse files
author
Joel Butcher
committed
update travis
1 parent a40a4fb commit ec6b695

File tree

1 file changed

+25
-3
lines changed

1 file changed

+25
-3
lines changed

.travis.yml

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,31 @@ language: php
33
php:
44
- 7.3
55
- 7.4
6+
- 8.0
7+
- 8.1
68

7-
before_script:
8-
- travis_retry composer self-update
9-
- travis_retry composer install --prefer-source --no-interaction
9+
env:
10+
- ILLUMINATE_VERSION=^7.0 TESTBENCH_VERSION=5.*
11+
- ILLUMINATE_VERSION=^8.0 TESTBENCH_VERSION=6.*
12+
- ILLUMINATE_VERSION=^9.0 TESTBENCH_VERSION=^7.0
13+
14+
matrix:
15+
exclude:
16+
# Don't test Laravel 9 on PHP 7.3 or PHP 7.4, as the mininmum
17+
# required PHP version for this Laravel version is 8.0.2
18+
- php: 7.3
19+
env: ILLUMINATE_VERSION=^9.0 TESTBENCH_VERSION=^7.0
20+
- php: 7.4
21+
env: ILLUMINATE_VERSION=^9.0 TESTBENCH_VERSION=^7.0
22+
23+
before_install:
24+
- composer require "illuminate/routing:${ILLUMINATE_VERSION}" --no-update --prefer-dist
25+
- composer require "illuminate/support:${ILLUMINATE_VERSION}" --no-update --prefer-dist
26+
- composer require "orchestra/testbench:${TESTBENCH_VERSION/5\./3\.}" --no-update --prefer-dist
27+
28+
install: travis_retry composer install --prefer-source --no-interaction
29+
30+
script:
31+
- composer test
1032

1133
fast_finish: true

0 commit comments

Comments
 (0)