mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-24 05:38:06 +03:00
28 lines
531 B
YAML
28 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
|