forked from Arcavias/arcavias-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
18 lines (17 loc) · 896 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
language: php
php:
- hhvm
- 5.6
- 5.5
- 5.4
- 5.3
before_script:
- composer install || sleep 60 && composer install
- mysql -e 'create database arcavias;'
- echo "<?php return array( 'db' => array( 'adapter' => 'mysql', 'host' => '127.0.0.1', 'database' => 'arcavias', 'username' => 'root', 'password' => '', 'limit' => 2, 'opt-persistent' => false, 'stmt' => array( \"SET NAMES 'utf8'\", \"SET SESSION sql_mode='ANSI'\" ) ) );" > config/resource.php
- echo "<?php return array( 'db' => array( 'adapter' => 'mysql', 'host' => '127.0.0.1', 'database' => 'arcavias', 'username' => 'root', 'password' => '', 'limit' => 2, 'opt-persistent' => false, 'stmt' => array( \"SET NAMES 'utf8'\", \"SET SESSION sql_mode='ANSI'\" ) ) );" > lib/mwlib/tests/config/resource.php
script: "vendor/bin/phing setup && vendor/bin/phing"
matrix:
fast_finish: true
allow_failures:
- php: 5.6