-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
59 lines (51 loc) · 1.02 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
# TravisCI configuration for szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset
if: "branch = master"
language: "php"
os:
- "linux"
dist: "bionic"
php:
- "8.1"
- "8.0"
- "7.4"
jobs:
include:
-
dist: "jammy"
addons:
apt:
packages:
- "libonig5"
php: "8.3"
script:
- "composer run test:cs"
-
dist: "jammy"
addons:
apt:
packages:
- "libonig5"
php: "8.2"
script:
- "composer run test:cs"
-
name: "Validate ruleset XML file"
addons:
apt:
packages:
- "libxml2-utils"
php: "7.4"
script:
- "composer run test:xml"
cache:
directories:
- "${HOME}/.composer/cache"
before_install:
- "phpenv config-rm xdebug.ini"
#- "composer validate --strict"
- "composer validate"
install:
- "composer update --no-interaction"
script:
- "composer run test:cs"
- "composer run test:e2e"