forked from aimeos/ai-client-html
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
28 lines (23 loc) · 950 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
sudo: false
language: php
php:
- hhvm
- 7.1
- 7.0
- 5.6
- 5.5
- 5.4
before_script:
- git clone --depth=50 --branch=master git://github.com/aimeos/aimeos-core.git ../aimeos-core
- cd ../aimeos-core && mv ../ai-client-html ext/
- composer self-update && composer require "aimeos/ai-controller-frontend:dev-master"
- mysql -e 'create database aimeos;'
- echo "<?php return array( 'db' => array( 'adapter' => 'mysql', 'host' => '127.0.0.1', 'database' => 'aimeos', 'username' => 'root', 'password' => '', 'limit' => 2, 'opt-persistent' => false, 'stmt' => array( \"SET NAMES 'utf8'\", \"SET SESSION sql_mode='ANSI'\" ) ), 'mq' => array( 'adapter' => 'Standard', 'db' => 'db' ) );" > config/resource.php
script:
- vendor/bin/phing -Ddir=ext/ai-client-html setup coverageext checkext
after_success:
- php vendor/bin/coveralls -c ext/ai-client-html/.coveralls.yml
matrix:
fast_finish: true
allow_failures:
- php: hhvm