forked from LavaLite/cms
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
31 lines (27 loc) · 712 Bytes
/
.travis.yml
File metadata and controls
31 lines (27 loc) · 712 Bytes
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
language: php
php:
- 7.0
services:
- mysql
before_script:
# - mkdir bootstrap/cache
#- mkdir storage
#- mkdir storage/app
#- mkdir storage/framework
#- mkdir storage/framework/sessions
#- mkdir storage/framework/cache
#- mkdir storage/framework/views
- chmod 777 -R storage
- chmod 777 -R bootstrap/cache
#- chown -R www-data:www-data storage
- cp .env.travis .env
- mysql -e 'create database homestead_test;'
- composer self-update
- composer install --no-interaction
- php artisan key:generate
- php artisan vendor:publish --tag=config
- php artisan vendor:publish --tag=public
- php artisan optimize
- php artisan migrate --seed
script:
- vendor/bin/phpunit