mirror of
https://github.com/danog/filtersbot.git
synced 2024-11-26 20:04:38 +01:00
35 lines
541 B
YAML
35 lines
541 B
YAML
sudo: false
|
|
|
|
language: php
|
|
|
|
php:
|
|
- 5.5
|
|
- 5.6
|
|
- 7.0
|
|
- hhvm
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- php: hhvm
|
|
fast_finish: true
|
|
|
|
notifications:
|
|
on_success: never
|
|
on_failure: always
|
|
|
|
git:
|
|
depth: 1
|
|
|
|
before_install:
|
|
- composer self-update
|
|
|
|
install:
|
|
- travis_retry composer install --no-interaction
|
|
|
|
before_script:
|
|
- mysql -e 'create database telegrambot; use telegrambot; source structure.sql;'
|
|
|
|
script:
|
|
- ./vendor/bin/phpunit
|
|
- ./vendor/bin/phpcs --standard=phpcs.xml -snp --encoding=utf-8 src/ --report-width=150
|