Use composer to install cake resque, remove old dependencies.

pull/1198/head
Raphaël Vinot 2016-06-02 16:52:03 +02:00
parent 88d806ae80
commit f39ffcdd69
2 changed files with 9 additions and 8 deletions

View File

@ -3,6 +3,7 @@ php:
- 5.5
- 5.6
- 7.0
- nightly
services:
- redis
@ -39,6 +40,7 @@ before_install:
install:
- git pull --recurse-submodules && git submodule update
- pip install --user pip -U
- pip install --user pyzmq
- pip install --user coveralls
- pip install --user codecov
@ -49,15 +51,8 @@ install:
- pear install Net_GeoIP
- phpenv rehash
- pushd app
- curl -s https://getcomposer.org/installer | php
- php composer.phar require kamisama/cake-resque:4.1.2
- php composer.phar config vendor-dir Vendor
- php composer.phar install
- composer install
- popd
- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu/ trusty multiverse" && sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu/ trusty-updates multiverse"
- sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu/ trusty universe" && sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu/ trusty-updates universe"
- sudo apt-get update -qq
- sudo apt-get install libapache2-mod-fastcgi php5-redis
- phpenv config-add travis/myphpconfig.ini
- cp -fa INSTALL/setup/config.php app/Plugin/CakeResque/Config/config.php
# Set perms

6
app/composer.json Normal file
View File

@ -0,0 +1,6 @@
{
"require": {
"kamisama/cake-resque": ">=4.1.2"
}
}