blob: 4b516f78b6351102cf06f2d5fe2128b1bf3b6da7 (
plain) (
blame)
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
|
sudo: false
dist: trusty
language: php
services:
- mysql
- postgresql
php:
- 5.6
- 7
- 7.1
env:
matrix:
- DB=mysql
- DB=sqlite
- DB=pgsql
before_install:
# copy sprinkles.json
- cp app/sprinkles.example.json app/sprinkles.json
# set up db
- bash build/before_install.sh $DB
before_script:
# install deps and UF
- composer install
- php bakery migrate
script:
# run unit tests
- composer test
after_failure:
- cat app/log/userfrosting.log
|