-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
.travis.yml
50 lines (43 loc) · 990 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
os: linux
dist: bionic
language: php
branches:
only:
- master
- /^v\d+\.\d+(\.\d+)?(-\S*)?$/
git:
depth: 10
quiet: true
env:
global:
- XDEBUG_MODE=coverage
jobs:
fast_finish: true
include:
- &STANDARD_TEST_JOB
stage: "Code style, lint and unit"
php: 7.2
install:
- (composer self-update; true)
- composer install --no-progress --no-suggest --no-interaction --no-cache
script:
- export TRAVIS_PULL_REQUEST TRAVIS_COMMIT_RANGE
- ./dev-tools/php-cs-check.sh
- composer check:analyse
- composer check:test
after_success:
- bash <(curl -s https://codecov.io/bash) -s ./build/
- &STANDART_UNIT_TEST_JOB
<<: *STANDARD_TEST_JOB
stage: "Unit on other PHP versions"
php: 7.3
script:
- composer check:test
after_success: []
-
<<: *STANDART_UNIT_TEST_JOB
php: 7.4
-
<<: *STANDART_UNIT_TEST_JOB
php: 8.0