-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy path.travis.yml
34 lines (29 loc) · 945 Bytes
/
.travis.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
language: php
php:
- 5.6
env:
global:
- setup=basic
services:
- mysql
before_script:
- cd core
- cp .env.travis .env
- mysql -e 'create database homestead_test;'
- chmod -R 777 storage
- cd ..
- composer self-update
- composer install
- php artisan key:generate --no-interaction
script:
- php artisan migrate --env=testing --no-interaction -vvv
- php artisan db:seed --no-interaction --class=UsersTableSeeder
- php artisan db:seed --no-interaction --class=UserTypesTableSeeder
- php artisan db:seed --no-interaction --class=CategoriesTableSeeder
- php artisan db:seed --no-interaction --class=ProductsTableSeeder
- php artisan db:seed --no-interaction --class=SettingsTableSeeder
- php artisan db:seed --no-interaction --class=PluginsTableSeeder
- php artisan db:seed --no-interaction --class=ThemesTableSeeder
- php artisan serve --port=8000 --host=localhost &
- cd core
- vendor/bin/phpunit