shlink/.travis.yml
2017-10-12 09:40:42 +02:00

27 lines
416 B
YAML

language: php
branches:
only:
- master
- develop
php:
- 7
- 7.1
- 7.2
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