-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.travis.yml
More file actions
31 lines (31 loc) · 867 Bytes
/
.travis.yml
File metadata and controls
31 lines (31 loc) · 867 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:
- 5.5
- 5.6
before_script:
- phpenv config-rm xdebug.ini
- composer self-update
- composer create-project laravel/laravel
- cd ./laravel
- composer config repositories.secrethash vcs https://github.com/secrethash/dropmenu.git
- composer require secrethash/dropmenu dev-master
- composer update
- composer install --no-interaction
- php artisan key:generate
# - cp ./vendor/secrethash/dropmenu/tests/config/.env ./
- rm ./config/app.php
- cp ./vendor/secrethash/dropmenu/tests/config/app.php ./config
# - php artisan vendor:publish
- composer dump-autoload
- php artisan dropmenu:migration
- php artisan migrate
- cd ./vendor/secrethash/dropmenu
before_install:
- mysql -e "CREATE DATABASE IF NOT EXISTS test;" -uroot
script: "phpunit"
services:
- mysql
cache:
directories:
- node_modules
- vendor