-
-
Notifications
You must be signed in to change notification settings - Fork 196
/
.travis.yml
38 lines (31 loc) · 918 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
35
36
37
38
language: php
sudo: required
dist: focal
group: edge
php:
- 8.1
sudo: false
services:
- mysql
before_script:
- mysql -u root -e 'create database laravelroles;'
- curl -s http://getcomposer.org/installer | php
- php composer.phar install
- composer create-project --prefer-dist laravel/laravel laravelroles
- cp .env.travis laravelroles/.env
- cd laravelroles
- composer self-update
- composer install --prefer-source --no-interaction
- composer dump-autoload
- composer require jeremykenedy/laravel-roles
- composer require laravel/ui
- php artisan key:generate
- php artisan vendor:publish --tag=laravelroles
- php artisan ui vue --auth
- composer dump-autoload
- php artisan clear-compiled
before_install:
- travis_retry composer self-update
install:
- travis_retry composer update --prefer-dist --no-interaction --prefer-stable --no-suggest
script: vendor/bin/phpunit