2017-06-09 12:08:31 +08:00
|
|
|
#dist: trusty
|
2017-06-09 11:27:50 +08:00
|
|
|
language: php
|
|
|
|
php:
|
|
|
|
- '7.0'
|
|
|
|
- '7.1'
|
2017-06-09 12:01:02 +08:00
|
|
|
# - hhvm
|
2017-06-09 11:27:50 +08:00
|
|
|
|
2017-07-14 02:45:59 +08:00
|
|
|
services:
|
|
|
|
- mysql
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
- mysql -e 'CREATE DATABASE IF NOT EXISTS phpvms;'
|
|
|
|
|
2017-06-09 11:50:22 +08:00
|
|
|
before_script:
|
2017-06-21 04:20:40 +08:00
|
|
|
- cp .env.travis .env
|
2017-06-09 11:50:22 +08:00
|
|
|
- composer self-update
|
2017-07-14 03:33:04 +08:00
|
|
|
- composer install --no-interaction
|
2017-06-09 11:50:22 +08:00
|
|
|
|
|
|
|
script:
|
2017-07-14 03:29:46 +08:00
|
|
|
- php artisan database:create --reset
|
2017-07-14 04:23:55 +08:00
|
|
|
- vendor/bin/phpunit --debug --verbose
|