mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-22 17:06:41 -06:00
28 lines
416 B
YAML
28 lines
416 B
YAML
language: php
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
- develop
|
|
|
|
php:
|
|
- 5.6
|
|
- 7
|
|
- 7.1
|
|
|
|
before_install: phpenv config-add .travis-php.ini
|
|
|
|
before_script:
|
|
- composer self-update
|
|
- composer install --no-interaction
|
|
|
|
script:
|
|
- mkdir build
|
|
- composer check
|
|
|
|
after_script:
|
|
- wget https://scrutinizer-ci.com/ocular.phar
|
|
- php ocular.phar code-coverage:upload --format=php-clover build/clover.xml
|
|
|
|
sudo: false
|