forked from CakeDC/TinyMCE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (28 loc) · 832 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
language: php
php:
- 5.2.8
- 5.3
- 5.4
before_script:
- git clone --depth 1 git://github.com/cakephp/cakephp ../cakephp && cd ../cakephp
- git clone --depth 1 --branch develop git://github.com/CakeDC/TinyMCE plugins/TinyMCE
- cd plugins/TinyMCE
- git submodule update --init --recursive
- cd ../../
- mv ../Users plugins/Users
- sh -c "mysql -e 'CREATE DATABASE cakephp_test;'"
- chmod -R 777 ../cakephp/app/tmp
- echo "<?php
class DATABASE_CONFIG {
public \$test = array(
'datasource' => 'Database/Mysql',
'database' => 'cakephp_test',
'host' => '0.0.0.0',
'login' => 'travis',
'persistent' => false,
);
}" > ../cakephp/app/Config/database.php
script:
- ./lib/Cake/Console/cake test TinyMCE View/Helper/TinyMCEHelper --stderr
notifications:
email: false