forked from broadway/broadway
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
35 lines (28 loc) · 862 Bytes
/
Copy path.travis.yml
File metadata and controls
35 lines (28 loc) · 862 Bytes
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
language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache
- vendor
matrix:
include:
- php: 7.1
- php: 7.2
- php: 7.3
fast_finish: true
before_install:
# Disable XDebug speed up test execution. (Ignore failures if platform does not had the extension installed)
- phpenv config-rm xdebug.ini || return 0
- echo "memory_limit=2G" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini || return 0
install:
- travis_retry composer self-update
- travis_retry composer install
- composer info -i
script:
- vendor/bin/phpunit --exclude-group=none
- vendor/bin/php-cs-fixer fix --config=".php_cs" --dry-run --no-interaction --allow-risky=yes --diff --verbose
- vendor/bin/docheader check {src,test,examples}
branches:
only:
- master
- develop