forked from phpowermove/php-code-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
27 lines (20 loc) · 715 Bytes
/
.travis.yml
File metadata and controls
27 lines (20 loc) · 715 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
language: php
dist: trusty
php:
- 7.2
- 7.3
cache:
directories:
- $HOME/.php-cs-fixer
install:
- composer install
script:
- vendor/bin/phpunit --coverage-clover=coverage.clover
- vendor/bin/php-cs-fixer fix --config=.php_cs --verbose --diff --dry-run
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
- test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" && bash bin/deploy.sh
env:
global:
- secure: "L2Fk2prteOc0B0QOs29uw+/8mjf/3x3rVOmh1kQKk/wE3SiUX69shJVnN3fnyFlhSOxgru+qtZoBfwmrJQsFVCEjB0O+m01Mt7wswhpGKzLU6hDUL/Qc6YhV9lTOaKWRFUUg9bPHFcMq8WT0bXxv2bX162ERHG+H1m9WcSDDjBE="