-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.scrutinizer.yml
39 lines (38 loc) · 1.23 KB
/
.scrutinizer.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
build:
environment:
php: '5.6'
mysql: '5.7'
hosts:
winners.dev: '127.0.0.1'
variables:
APP_KEY: 'base64:OYl4Bk9ekouOUIRXyeTD0FVi+cJ9D+HMyDJBgSBSUuI='
APP_ENV: 'testing'
APP_URL: 'http://winners.dev'
API_HOST: 'winners.dev'
DB_HOST: '127.0.0.1'
DB_DATABASE: 'scrutinizer'
DB_USERNAME: 'root'
JWT_SECRET: 'pCVqwM4xOVOfBdPI6oaeKwlMoCP6Ape6'
DB_PASSWORD: ''
MAIL_DRIVER: 'log'
cache:
directories:
- vendor/
- ~/.composer/cache/
dependencies:
before:
- cp .env.travis .env
- mysql -uroot -e 'CREATE DATABASE scrutinizer'
- composer self-update
- composer install --no-interaction
- php artisan migrate
tests:
before:
- chmod -R 777 storage
- vendor/bin/phpunit --coverage-clover=laravel-test-examples-coverage
override:
-
command: vendor/bin/phpunit --coverage-clover=laravel-test-examples-coverage
coverage:
file: laravel-test-examples-coverage
format: clover