shlink/.travis.yml
2018-03-26 18:16:59 +02:00

29 lines
531 B
YAML

language: php
branches:
only:
- /.*/
php:
- 7.1
- 7.2
before_install:
- phpenv config-add data/infra/travis-php/memcached.ini
- phpenv config-add data/infra/travis-php/apcu.ini
before_script:
- composer self-update
- composer install --no-interaction
script:
- mkdir build
- composer check
after_script:
- vendor/bin/phpcov merge build --clover build/clover.xml
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover build/clover.xml
sudo: false