forked from CORE-POS/IS4C
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (33 loc) · 838 Bytes
/
.travis.yml
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
37
38
39
40
41
42
language: php
# keep verisions minimal to limit total
# builds on free service. politeness.
php:
- "5.5"
services:
- mysql
sudo: false
branches:
only:
- master
addons:
code_climate:
repo_token: 461be60a44fc2293c80a05712a1aa18ff7d12effec9a806d7722435b12ea2bbe
# test both msyqli and PDO
env:
matrix:
- DB_DRIVER=pdo_mysql
- DB_DRIVER=mysqli
install:
- sh tests/fannie/travis-init.sh
- sh tests/pos/travis-init.sh
- rm composer.json
- rm composer.lock
- composer init -n
- composer require codeclimate/php-test-reporter johnkary/phpunit-speedtrap twig/twig twig/extensions
- mkdir -p build/logs
- npm install acorn
script:
- phpunit -d max_execution_time=0 -c phpunit.xml
- sh tests/acorn.sh
after_script:
- vendor/bin/test-reporter