forked from aimeos/ai-typo3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
27 lines (21 loc) · 1002 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
sudo: false
dist: xenial
language: php
services:
- mysql
php:
- 7.3
- 7.2
- 7.1
matrix:
fast_finish: true
before_script:
- git clone --depth=50 --branch=master git://github.com/aimeos/aimeos-core.git ../aimeos-core
- cd ../aimeos-core && mv ../ai-typo3 ext/
- travis_retry composer require "zendframework/zend-diactoros" "~1.0"
- mysql -e "CREATE DATABASE aimeos; GRANT ALL ON aimeos.* TO 'aimeos'@'127.0.0.1' IDENTIFIED BY 'aimeos'"
- echo "<?php return array( 'db' => array( 'adapter' => 'mysql', 'host' => '127.0.0.1', 'database' => 'aimeos', 'username' => 'aimeos', 'password' => 'aimeos', 'limit' => 2, 'opt-persistent' => false, 'stmt' => array( \"SET SESSIOn sort_buffer_size=2097144; SET NAMES 'utf8'; SET SESSION sql_mode='ANSI'\" ) ), 'mq' => array( 'adapter' => 'Standard', 'db' => 'db' ) );" > config/resource.php
script:
- vendor/bin/phing -Ddir=ext/ai-typo3 setup coverageext checkext
after_success:
- php vendor/bin/coveralls -c ext/ai-typo3/.coveralls.yml