mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-30 19:36:40 +03:00
27 lines
416 B
YAML
27 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
|