-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (27 loc) · 840 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
dist: bionic
language: php
env:
global:
- SETUP=stable
matrix:
fast_finish: true
include:
- php: 7.3
- php: 7.3
env: SETUP=lowest
- php: 8.0
- php: 8.0
env: SETUP=lowest
- php: 8.1
- php: 8.1
env: SETUP=lowest
cache:
directories:
- $HOME/.composer/cache
before_install:
- phpenv config-rm xdebug.ini || true
- echo "memory_limit=4G" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
install:
- if [[ $SETUP = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable --no-suggest; fi
- if [[ $SETUP = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable --no-suggest; fi
script: vendor/bin/phpunit