koel/.travis.yml

42 lines
600 B
YAML
Raw Normal View History

2015-12-13 04:42:28 +00:00
language: php
php:
- 5.6
- 7.0
2015-12-14 05:29:25 +00:00
- hhvm
2015-12-13 04:42:28 +00:00
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
ADMIN_EMAIL: koel@example.com
ADMIN_NAME: Koel
ADMIN_PASSWORD: SoSecureK0el
LASTFM_API_KEY: foo
LASTFM_API_SECRET: bar
2015-12-13 04:57:20 +00:00
2015-12-23 13:59:35 +00:00
cache:
- npm
- composer
2015-12-13 04:42:28 +00:00
branches:
only:
2015-12-14 08:50:58 +00:00
- master
2015-12-13 04:42:28 +00:00
2015-12-24 01:40:20 +00:00
cache:
- npm
- composer
2015-12-13 04:42:28 +00:00
before_script:
2015-12-14 05:29:25 +00:00
- composer self-update
- composer install --prefer-source --no-interaction
2015-12-23 13:59:35 +00:00
- npm install -g npm@latest
2015-12-14 05:29:25 +00:00
- npm install
2015-12-13 04:42:28 +00:00
2015-12-14 05:29:25 +00:00
script:
- phpunit
- npm test