forked from ackintosh/ganesha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (37 loc) · 839 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
41
42
43
44
45
46
language: php
php:
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
- nightly
env:
matrix:
- COMPOSER_OPTS=""
- COMPOSER_OPTS="--prefer-lowest --prefer-stable"
matrix:
allow_failures:
- php: nightly
services:
- memcached
- redis
- mongodb
before_install:
- ./install_memcached.sh
- phpenv config-add .travis.php.ini
before_script:
- travis_retry composer self-update
- travis_retry composer update ${COMPOSER_OPTS} --no-interaction
script:
- vendor/bin/phpunit
after_success:
- travis_retry php vendor/bin/php-coveralls -v
jobs:
include:
- stage: Coding Standards
php: 7.3
install:
- travis_retry wget https://cs.symfony.com/download/php-cs-fixer-v2.phar -O php-cs-fixer
script:
- php php-cs-fixer -v --diff fix --config=.php_cs.dist --dry-run --no-interaction