-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
63 lines (54 loc) · 1.29 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
62
63
sudo: false
language: php
cache:
directories:
- $HOME/.composer
- $HOME/.cache/composer
addons:
apt:
packages:
- parallel
stages:
- test
before_install:
- composer self-update
- composer --version
before_script:
- chmod +x ./.travis/*.sh
jobs:
include:
- stage: test
name: "Composer validate"
php: "7.3"
script: composer validate
- name: "Unit tests PHP 7.0"
php: "7.0"
script: ./.travis/test_phpunit.sh
- name: "Unit tests PHP 7.1"
php: "7.1"
script: ./.travis/test_phpunit.sh
- name: "Unit tests PHP 7.2"
php: "7.2"
script: ./.travis/test_phpunit.sh
- name: "Unit tests PHP 7.3"
php: "7.3"
script: ./.travis/test_phpunit.sh
- name: "Unit tests PHP 7.4"
php: "7.4"
env: UPLOAD_CODE_COVERAGE="yes"
script: ./.travis/test_phpunit.sh
- name: "PHP linting PHP 7.0"
php: "7.0"
script: ./.travis/test_lint.sh
- name: "PHP linting PHP 7.1"
php: "7.1"
script: ./.travis/test_lint.sh
- name: "PHP linting PHP 7.2"
php: "7.2"
script: ./.travis/test_lint.sh
- name: "PHP linting PHP 7.3"
php: "7.3"
script: ./.travis/test_lint.sh
- name: "PHP linting PHP 7.4"
php: "7.4"
script: ./.travis/test_lint.sh