forked from dereuromark/cakephp-queue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
45 lines (36 loc) · 1.25 KB
/
.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
language: php
sudo: false
php:
- 5.4
- 5.5
- 5.6
env:
global:
- REPO_NAME=cakephp-queue
- PLUGIN_NAME=Queue
- REQUIRE=""
matrix:
- DB=mysql CAKE_VERSION=2.x
- DB=mysql CAKE_VERSION=2.next
matrix:
include:
- php: 5.4
env:
- DB=mysql CAKE_VERSION=2.x COVERALLS=1
before_script:
- git clone -b master https://github.com/FriendsOfCake/travis.git --depth 1 ../travis
- ../travis/before_script.sh
- cd ../cakephp/app
- composer require --dev --no-interaction --prefer-source dereuromark/cakephp-tools:0.*
- echo "<?php App::uses('MyModel', 'Tools.Model'); class AppModel extends MyModel {}" > Model/AppModel.php
- echo "<?php App::uses('MyController', 'Tools.Controller'); class AppController extends MyController {}" > Controller/AppController.php
- echo "<?php App::uses('BaseEmailConfig', 'Tools.Config'); class EmailConfig extends BaseEmailConfig {}" > Config/email.php
- echo "Configure::write('Security.salt', 'AycG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9mi');" >> Config/bootstrap.php
- echo "Configure::write('Security.cipherSeed', '16659201697453542496749683615');" >> Config/bootstrap.php
- cd ..
script:
- ../travis/script.sh
after_success:
- ../travis/after_success.sh
notifications:
email: false