forked from facile-it/PdfBundle
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
40 lines (33 loc) · 897 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
language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache/files
php:
- 7.3
- 7.2
- 7.1
env:
- COMPOSER_MEMORY_LIMIT=-1
before_install:
- composer self-update
install:
- composer install --prefer-dist --no-interaction
script: vendor/bin/phpunit
jobs:
include:
- stage: Test
php: 7.1
name: prefer-lowest
env:
- SYMFONY_DEPRECATIONS_HELPER=disabled
install:
- composer remove --dev friendsofphp/php-cs-fixer --no-update
- composer update --no-interaction --prefer-dist --prefer-stable --prefer-lowest
- stage: Additional checks
name: Test coverage
script: phpdbg -qrr vendor/bin/phpunit --coverage-clover ./build/logs/clover.xml --coverage-text
after_success:
- php vendor/bin/php-coveralls -v
- name: Code style
script: vendor/bin/php-cs-fixer fix --verbose --dry-run