-
Notifications
You must be signed in to change notification settings - Fork 68
Expand file tree
/
Copy path.travis.yml
More file actions
31 lines (24 loc) · 751 Bytes
/
.travis.yml
File metadata and controls
31 lines (24 loc) · 751 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.1
- 7.2
sudo: false
# cache vendor dirs
cache:
directories:
- vendor
- $HOME/.composer/cache
before_install:
- phpenv config-rm xdebug.ini
install:
- COMPOSER_DISCARD_CHANGES=1 composer install --dev --prefer-source --no-interaction
before_script:
- cp tests/migrations/create_moderation_posts_table.php vendor/laravel/laravel/database/migrations/2015_11_19_053825_create_moderation_posts_table.php
- cp src/config/moderation.php vendor/laravel/laravel/config/moderation.php
- touch vendor/laravel/laravel/database/database.sqlite
- cd vendor/laravel/laravel
- composer update --dev --prefer-source --no-interaction
- yes | php artisan migrate
- cd -
script:
- vendor/bin/phpunit tests