forked from CakeDC/migrations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (38 loc) · 948 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
37
38
39
40
41
42
43
44
45
46
language: php
php:
- 5.3
- 5.4
- 5.5
env:
global:
- PLUGIN_NAME=Migrations
- DB=mysql
- MYSQL_CREATE_DB="mysql -e 'create database cakephp_test CHARACTER SET utf8 COLLATE utf8_general_ci;'"
- REQUIRE="phpunit/phpunit:3.7.31"
matrix:
- DB=mysql CAKE_VERSION=master
matrix:
include:
- php: 5.3
env:
- CAKE_VERSION=master
- php: 5.4
env:
- CAKE_VERSION=master
- php: 5.5
env:
- CAKE_VERSION=master
before_script:
- git clone https://github.com/burzum/travis.git --depth 1 ../travis
- ../travis/before_script.sh
- if [ "$PHPCS" != 1 ]; then
echo "
require_once APP . DS . 'vendor' . DS . 'phpunit' . DS . 'phpunit' . DS . 'PHPUnit' . DS . 'Autoload.php';
" >> ../cakephp/app/Config/bootstrap.php;
fi
script:
- ../travis/script.sh
after_success:
- ../travis/after_success.sh
notifications:
email: false