mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-29 02:11:10 -06:00
29 lines
531 B
YAML
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
|