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
|
|
|
|
- make build
|
|
|
|
|
|
|
|
script:
|
2017-06-09 12:00:30 +08:00
|
|
|
- make tests
|