-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
.travis.yml
32 lines (28 loc) · 879 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
language: php
sudo: required
dist: trusty
group: edge
php:
- 8.2
- 8.3
sudo: false
services:
- mysql
before_script:
- mysql -u root -e 'create database laravelblocker;'
- curl -s http://getcomposer.org/installer | php
- php composer.phar install
- composer create-project --prefer-dist laravel/laravel laravelblocker
- cp .env.travis laravelblocker/.env
- cd laravelblocker
- composer self-update
- composer install --prefer-source --no-interaction
- composer dump-autoload
- composer require jeremykenedy/laravel-blocker
- php artisan key:generate
- php artisan vendor:publish --provider="jeremykenedy\LaravelBlocker\LaravelBlockerServiceProvider"
- composer require laravel/ui --dev
- composer dump-autoload
- php artisan clear-compiled
- sudo chgrp -R www-data storage bootstrap/cache
- sudo chmod -R ug+rwx storage bootstrap/cache