forked from SpartnerNL/Laravel-Excel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
61 lines (50 loc) · 1.8 KB
/
.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache
services:
- mysql
matrix:
fast_finish: true
include:
# Laravel 5.5
- php: 7.1
env: LARAVEL=5.5.* TESTBENCH=3.5.* ORCHESTRA_DATABASE=3.5.* PHPUNIT=~6.0
- php: 7.2
env: LARAVEL=5.5.* TESTBENCH=3.5.* ORCHESTRA_DATABASE=3.5.* PHPUNIT=~6.0
# Laravel 5.6
- php: 7.1
env: LARAVEL=5.6.* TESTBENCH=3.6.* ORCHESTRA_DATABASE=3.6.* PHPUNIT=~7.0
- php: 7.2
env: LARAVEL=5.6.* TESTBENCH=3.6.* ORCHESTRA_DATABASE=3.6.* PHPUNIT=~7.0
# Laravel 5.7
- php: 7.1
env: LARAVEL=5.7.* TESTBENCH=3.7.* ORCHESTRA_DATABASE=3.7.* PHPUNIT=~7.5
- php: 7.2
env: LARAVEL=5.7.* TESTBENCH=3.7.* ORCHESTRA_DATABASE=3.7.* PHPUNIT=~7.5
- php: 7.3
env: LARAVEL=5.7.* TESTBENCH=3.7.* ORCHESTRA_DATABASE=3.7.* PHPUNIT=~7.5
# Laravel 5.8
- php: 7.1
env: LARAVEL=5.8.* TESTBENCH=3.8.* ORCHESTRA_DATABASE=3.8.* PHPUNIT=~7.5
- php: 7.2
env: LARAVEL=5.8.* TESTBENCH=3.8.* ORCHESTRA_DATABASE=3.8.* PHPUNIT=~8.0
- php: 7.3
env: LARAVEL=5.8.* TESTBENCH=3.8.* ORCHESTRA_DATABASE=3.8.* PHPUNIT=~8.0
# Laravel 6.x
- php: 7.2
env: LARAVEL=^6.0 TESTBENCH=^4.0 ORCHESTRA_DATABASE=^4.0 PHPUNIT=~8.0
- php: 7.3
env: LARAVEL=^6.0 TESTBENCH=^4.0 ORCHESTRA_DATABASE=^4.0 PHPUNIT=~8.0
- php: 7.4
env: LARAVEL=^6.0 TESTBENCH=^4.0 ORCHESTRA_DATABASE=^4.0 PHPUNIT=~8.0
before_install:
- phpenv config-rm xdebug.ini
- composer self-update --stable --no-interaction
- composer require orchestra/testbench:$TESTBENCH orchestra/database:$ORCHESTRA_DATABASE phpunit/phpunit:$PHPUNIT --no-update --no-interaction --dev
- mysql -e 'CREATE DATABASE IF NOT EXISTS laravel_excel;'
install:
- travis_retry composer install --no-suggest --no-interaction
script:
- vendor/bin/phpunit --verbose --configuration phpunit.xml.dist