-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
executable file
·49 lines (41 loc) · 1.08 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
language: php
sudo: false
env:
global:
- COMPOSER_MEMORY_LIMIT="-1"
matrix:
include:
- php: 7.2
env: COMPOSER_ARGS=""
- php: 7.3
env: COMPOSER_ARGS=""
- php: 7.4
env: COMPOSER_ARGS=""
- php: 8.0
env: COMPOSER_ARGS=""
- php: 8.1
env: COMPOSER_ARGS=""
- php: 8.2
env: COMPOSER_ARGS=""
- php: 7.2
env: COMPOSER_ARGS="--prefer-lowest"
- php: 7.3
env: COMPOSER_ARGS="--prefer-lowest"
- php: 7.4
env: COMPOSER_ARGS="--prefer-lowest"
- php: 8.0
env: COMPOSER_ARGS="--prefer-lowest"
- php: 8.1
env: COMPOSER_ARGS="--prefer-lowest"
- php: 8.2
env: COMPOSER_ARGS="--prefer-lowest"
cache:
directories:
- $HOME/.composer/cache
install:
- IFS=$'\n'; COMMIT_SCA_FILES=($(git diff --name-only --diff-filter=ACMRTUXB "${TRAVIS_COMMIT_RANGE}")); unset IFS
before_script:
- phpenv config-rm xdebug.ini || true
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist
script:
- bin/phpunit