koel/.travis.yml

43 lines
788 B
YAML
Raw Normal View History

2015-12-13 04:42:28 +00:00
language: php
php:
- 7.0
2015-12-13 04:57:20 +00:00
env:
APP_ENV: testing
CACHE_DRIVER: array
SESSION_DRIVER: array
QUEUE_DRIVER: sync
DB_CONNECTION: sqlite
2015-12-14 05:29:25 +00:00
APP_KEY: 16efa6c23c2e8c705826b0e66778fbe7
2016-09-26 07:57:04 +00:00
JWT_SECRET: ki8jSvMf5wFrlSRBAWcGbmAzBUJfc8p8
2015-12-14 05:29:25 +00:00
ADMIN_EMAIL: koel@example.com
ADMIN_NAME: Koel
ADMIN_PASSWORD: SoSecureK0el
LASTFM_API_KEY: foo
LASTFM_API_SECRET: bar
2016-09-26 07:44:16 +00:00
BROADCAST_DRIVER: log
2015-12-13 04:57:20 +00:00
2015-12-13 04:42:28 +00:00
branches:
2016-09-26 07:44:16 +00:00
- master
2015-12-13 04:42:28 +00:00
2017-02-15 08:10:11 +00:00
install:
2016-06-25 12:18:19 +00:00
- . $HOME/.nvm/nvm.sh
2017-06-04 08:47:47 +00:00
- nvm install 6.10.3
- nvm use 6.10.3
2017-02-15 08:04:25 +00:00
- npm install -g yarn
2017-02-15 08:15:39 +00:00
- yarn
2015-12-14 05:29:25 +00:00
- composer self-update
- composer install --prefer-dist --no-interaction
2015-12-13 04:42:28 +00:00
2016-05-27 02:52:53 +00:00
script:
- composer test
2017-02-15 08:04:25 +00:00
- yarn test
2017-06-03 16:50:53 +00:00
addons:
code_climate:
repo_token: e74dc85a4eeb025a067bde238175f44d9f6a9e544278c4c096a46b8467c5fb9f
after_success:
- vendor/bin/test-reporter