koel/.travis.yml

38 lines
648 B
YAML
Raw Normal View History

2015-12-13 04:42:28 +00:00
language: php
php:
2016-09-26 08:02:20 +00:00
- 5.6
2015-12-13 04:42:28 +00:00
- 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:04:25 +00:00
before_script:
2016-06-25 12:18:19 +00:00
- . $HOME/.nvm/nvm.sh
- nvm install stable
- nvm use stable
2017-02-15 08:04:25 +00:00
- npm install -g yarn
install:
2015-12-14 05:29:25 +00:00
- composer self-update
- composer install --prefer-source --no-interaction
2015-12-13 04:42:28 +00:00
2016-05-27 02:52:53 +00:00
script:
2015-12-14 05:29:25 +00:00
- phpunit
2017-02-15 08:04:25 +00:00
- yarn test