-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
36 lines (33 loc) · 975 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
language: php
php:
- 5.3
- 5.4
before_script:
- git clone --depth 1 git://github.com/cakephp/cakephp ../cakephp && cd ../cakephp
- sh -c "mysql -e 'CREATE DATABASE cakephp_test;'"
- cp -R ../Komplete app/Plugin/Komplete
- chmod -R 777 ../cakephp/app/tmp
- echo "<?php
class DATABASE_CONFIG {
public \$default = array(
'datasource' => 'Database/Mysql',
'persistent' => false,
'host' => '0.0.0.0',
'login' => 'root',
'password' => '',
'database' => 'cakephp_test',
'prefix' => ''
);
public \$test = array(
'datasource' => 'Database/Mysql',
'persistent' => false,
'host' => '0.0.0.0',
'login' => 'root',
'password' => '',
'database' => 'cakephp_test',
'prefix' => '',
'encoding' => 'utf8'
);
}" > ./app/Config/database.php
script:
- ./app/Console/cake test Komplete Model/Behavior/CompletableBehavior