mirror of
https://github.com/koel/koel
synced 2024-11-27 22:40:26 +00:00
42 lines
793 B
YAML
42 lines
793 B
YAML
language: php
|
|
|
|
php:
|
|
- 7.0
|
|
|
|
env:
|
|
APP_ENV: testing
|
|
CACHE_DRIVER: array
|
|
SESSION_DRIVER: array
|
|
QUEUE_DRIVER: sync
|
|
DB_CONNECTION: sqlite
|
|
APP_KEY: 16efa6c23c2e8c705826b0e66778fbe7
|
|
JWT_SECRET: ki8jSvMf5wFrlSRBAWcGbmAzBUJfc8p8
|
|
ADMIN_EMAIL: koel@example.com
|
|
ADMIN_NAME: Koel
|
|
ADMIN_PASSWORD: SoSecureK0el
|
|
LASTFM_API_KEY: foo
|
|
LASTFM_API_SECRET: bar
|
|
BROADCAST_DRIVER: log
|
|
|
|
branches:
|
|
- master
|
|
|
|
install:
|
|
- . $HOME/.nvm/nvm.sh
|
|
- nvm install 6.10.3
|
|
- nvm use 6.10.3
|
|
- npm install -g yarn
|
|
- yarn
|
|
- composer self-update
|
|
- composer install --prefer-dist --no-interaction
|
|
|
|
script:
|
|
- vendor/bin/phpunit
|
|
- yarn test
|
|
|
|
addons:
|
|
code_climate:
|
|
repo_token: e74dc85a4eeb025a067bde238175f44d9f6a9e544278c4c096a46b8467c5fb9f
|
|
|
|
after_success:
|
|
- vendor/bin/test-reporter
|