mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-02 11:40:47 +05:30
29 lines
384 B
YAML
29 lines
384 B
YAML
language: php
|
|
|
|
dist: trusty
|
|
sudo: false
|
|
|
|
cache:
|
|
directories:
|
|
- vendor
|
|
|
|
env:
|
|
- DEPENDENCIES=""
|
|
- DEPENDENCIES="--prefer-lowest --prefer-stable"
|
|
|
|
php:
|
|
- 7.0
|
|
- 7.1
|
|
- 7.2
|
|
|
|
install:
|
|
- composer update --no-interaction --prefer-dist $DEPENDENCIES
|
|
|
|
script:
|
|
- vendor/bin/phpunit
|
|
- vendor/bin/phpstan analyse -l 6 -c phpstan.neon src tests
|
|
|
|
branches:
|
|
only:
|
|
- master
|