forked from aimeoscom/ai-payments
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
24 lines (20 loc) · 778 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
sudo: false
language: php
php:
- hhvm
- 7.0
- 5.6
- 5.5
- 5.4
- 5.3
before_script:
- git clone --depth=50 --branch=master git://github.com/aimeos/aimeos-core.git ../aimeos-core
- cd ../aimeos-core
- mv ../ai-payments ext/
- composer require "omnipay/omnipay:~2.0"
- 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'\" ) ) );" > config/resource.php
script:
- vendor/bin/phing -Ddir=ext/ai-payments setup coverageext checkext
after_success:
- php vendor/bin/coveralls -c ext/ai-payments/.coveralls.yml