shlink/.travis.yml

29 lines
531 B
YAML
Raw Normal View History

2016-04-17 12:34:16 -05:00
language: php
branches:
only:
2017-12-27 08:43:59 -06:00
- /.*/
2016-04-17 12:34:16 -05:00
php:
2016-07-21 11:46:52 -05:00
- 7.1
2017-09-30 05:13:12 -05:00
- 7.2
2016-04-17 12:34:16 -05:00
before_install:
- phpenv config-add data/infra/travis-php/memcached.ini
- phpenv config-add data/infra/travis-php/apcu.ini
2016-04-17 12:34:16 -05:00
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
2016-04-17 12:34:16 -05:00
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover build/clover.xml
2016-04-17 12:34:16 -05:00
sudo: false