forked from ThaDafinser/ZfcDatagrid
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
32 lines (24 loc) · 659 Bytes
/
Copy path.travis.yml
File metadata and controls
32 lines (24 loc) · 659 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
language: php
sudo: false
php:
- 5.6
- 7
- 7.1
- hhvm
- nightly
matrix:
allow_failures:
- php: nightly
env:
matrix:
- DEPENDENCIES="--prefer-lowest --prefer-stable"
- DEPENDENCIES=""
before_script:
- composer self-update
- composer update -o --prefer-source $DEPENDENCIES
script:
- vendor/bin/phpunit --coverage-clover ./clover.xml
- vendor/bin/php-cs-fixer fix src --level=psr2 --dry-run -vv
after_script:
- if [ "$TRAVIS_PHP_VERSION" = "7.0" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi
- if [ "$TRAVIS_PHP_VERSION" = "7.0" ]; then php ocular.phar code-coverage:upload --format=php-clover ./clover.xml; fi