-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
44 lines (38 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
language: php
php:
- 7.2
- 7.3
- 7.4snapshot
- nightly
env:
- DEPENDENCIES=
- DEPENDENCIES=--prefer-lowest
install:
composer update --no-interaction --prefer-stable --prefer-dist $DEPENDENCIES
script: make test
stages:
- Validate composer.json
- Code Quality
- Test
jobs:
allow_failures:
- php: 7.4snapshot
- php: nightly
include:
- stage: Validate composer.json
name: Validate composer.json
php: 7.2
script:
- make validate-composer
- curl -O https://github.com/maglnet/ComposerRequireChecker/releases/latest/download/composer-require-checker.phar
- php composer-require-checker.phar check composer.json
- stage: Code Quality
name: Lint
php: 7.2
script: make lint
- name: Coding Standard
php: 7.2
script: make cs
- name: PHPStan
php: 7.2
script: make phpstan