aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/vobject/.travis.yml
blob: 511119bbb55974fcaea58982a10669cced54afc2 (plain) (blame)
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
php:
  - 7.1
  - 7.2
  - 7.3
  - 7.4

matrix:
  fast_finish: true

install:
  - composer require --dev phpstan/phpstan:^0.12

before_script:
  - composer install

script:
  - ./bin/php-cs-fixer fix lib/ --dry-run --diff
  - php ./bin/phpstan.phar analyse -c phpstan.neon lib tests
  - ./bin/phpunit --configuration tests/phpunit.xml --coverage-clover=coverage.xml
  
after_success:
  - bash <(curl -s https://codecov.io/bash)

cache:
  directories:
    - $HOME/.composer/cache