forked from jdavidbakr/mail-tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (27 loc) · 922 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
language: php
cache:
directories:
- $HOME/.cache/pip
- $HOME/.composer/cache/files
php:
- 7.2
- 7.3
- 7.4
env:
- LARAVEL_VERSION=7.x-dev TESTBENCH=5.x-dev
- LARAVEL_VERSION=8.x-dev TESTBENCH=6.x-dev
jobs:
exclude:
- php: 7.2
env: LARAVEL_VERSION=8.x-dev TESTBENCH=6.x-dev
before_install:
- echo "memory_limit=-1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- cp ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini ~/xdebug.ini
- phpenv config-rm xdebug.ini
- composer require "laravel/framework:${LARAVEL_VERSION}" --no-update --prefer-dist
- composer require "orchestra/testbench:${TESTBENCH}" --no-update --prefer-dist
install: travis_retry composer install --no-interaction --prefer-dist
before_script: phpenv config-add ~/xdebug.ini
script: vendor/bin/phpunit
notifications:
email: false