forked from orchidsoftware/platform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
38 lines (31 loc) · 824 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
sudo: required
dist: trusty
language: php
php:
- 7.0
- 7.1
cache:
directories:
- $HOME/.composer/cache
services:
- mysql
before_install:
- chmod +x ./scripts/*
- sudo sh ./scripts/travis_mysql_5.7.sh
- composer self-update
- composer create-project laravel/laravel
- cd ./laravel
- composer config repositories.orchid vcs https://github.com/theOrchid/Platform.git
- composer require orchid/platform dev-master
- composer update
- cp ./vendor/orchid/platform/tests/config/.env ./
- rm ./config/app.php
- cp ./vendor/orchid/platform/tests/config/app.php ./config
- php artisan key:generate
- php artisan vendor:publish
- mysql -e "create database IF NOT EXISTS test;" -uroot
- php artisan migrate
- cd ./vendor/orchid/platform
script: "phpunit"
notifications:
email: false