forked from statamic/ssg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
39 lines (33 loc) · 987 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
37
38
39
language: php
cache:
directories:
- $HOME/.composer/cache
matrix:
include:
- php: 7.1
env: LARAVEL='5.8.*' TESTBENCH='3.8.*'
- php: 7.2
env: LARAVEL='5.8.*' TESTBENCH='3.8.*'
- php: 7.3
env: LARAVEL='5.8.*' TESTBENCH='3.8.*'
- php: 7.4snapshot
env: LARAVEL='5.8.*' TESTBENCH='3.8.*'
- php: 7.2
env: LARAVEL='6.*' TESTBENCH='4.*'
- php: 7.3
env: LARAVEL='6.*' TESTBENCH='4.*'
- php: 7.4snapshot
env: LARAVEL='6.*' TESTBENCH='4.*'
allow_failures:
- php: 7.4snapshot
- env: LARAVEL='5.8.*' TESTBENCH='3.8.*'
before_install:
- composer config discard-changes true
- travis_retry composer self-update
- travis_retry composer require "laravel/framework:${LARAVEL}" "orchestra/testbench:${TESTBENCH}" --no-interaction --no-update
install:
- travis_retry composer update --prefer-dist --no-interaction --no-suggest
before_script:
- phpenv config-rm xdebug.ini
script:
- vendor/bin/phpunit