-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Expand file tree
/
Copy path.travis.yml
More file actions
38 lines (29 loc) · 765 Bytes
/
Copy path.travis.yml
File metadata and controls
38 lines (29 loc) · 765 Bytes
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
sudo: false
git:
depth: 1
cache:
directories:
- $HOME/.composer/cache
language: php
env:
global:
- COVERAGE=0 XDEBUG=0
matrix:
include:
- php: 7.4
env: LARAVEL='5.7.*' XDEBUG=1
- php: 7.4
env: LARAVEL='5.8.*' XDEBUG=1
- php: 7.4
env: COVERAGE=1 LARAVEL='6.*' XDEBUG=1
fast_finish: true
before_install:
- if [[ $XDEBUG = 0 ]]; then phpenv config-rm xdebug.ini; fi
- travis_retry composer self-update
- travis_retry composer require "illuminate/contracts:${LARAVEL}" --no-interaction --no-update
install:
- travis_retry composer install --prefer-dist --no-interaction --no-suggest
script:
- composer test:ci
after_success:
- if [[ $COVERAGE = 1 ]]; then bash <(curl -s https://codecov.io/bash); fi