koel/.travis.yml

35 lines
562 B
YAML
Raw Normal View History

2015-12-13 12:42:28 +08:00
language: php
php:
- 5.6
- 7.0
2015-12-14 13:29:25 +08:00
- hhvm
2015-12-13 12:42:28 +08:00
2015-12-13 12:57:20 +08:00
env:
APP_ENV: testing
CACHE_DRIVER: array
SESSION_DRIVER: array
QUEUE_DRIVER: sync
DB_CONNECTION: sqlite
2015-12-14 13:29:25 +08:00
APP_KEY: 16efa6c23c2e8c705826b0e66778fbe7
ADMIN_EMAIL: koel@example.com
ADMIN_NAME: Koel
ADMIN_PASSWORD: SoSecureK0el
LASTFM_API_KEY: foo
LASTFM_API_SECRET: bar
2015-12-13 12:57:20 +08:00
2015-12-13 12:42:28 +08:00
branches:
2016-06-25 20:18:19 +08:00
- master
2015-12-13 12:42:28 +08:00
2016-06-25 20:18:19 +08:00
install:
- . $HOME/.nvm/nvm.sh
- nvm install stable
- nvm use stable
- npm install
2015-12-14 13:29:25 +08:00
- composer self-update
- composer install --prefer-source --no-interaction
2015-12-13 12:42:28 +08:00
2016-05-27 10:52:53 +08:00
script:
2015-12-14 13:29:25 +08:00
- phpunit
- npm test