language: php

php:
  - 5.4
  - 5.5

services:
  - mysql
  - memcached
  - elasticsearch
  - redis-server
  - mongodb

before_script:
  - tests/travis/install-php-runkit.sh
  - tests/travis/install-php-svm.sh
  - yes '' | travis_retry pecl install imagick
  - travis_retry pecl install stats
  - sudo apt-get install libgearman-dev && travis_retry pecl install gearman-1.0.3
  - if [ `php-config --vernum` -ge 50500 ]; then yes '' | travis_retry pecl install apcu-beta; fi
  - phpenv config-add tests/travis/php.ini
  - phpenv config-add tests/travis/php-$TRAVIS_PHP_VERSION.ini

  - composer install --dev
  - cp tests/travis/config.php resources/config/local.php
  - bin/cm app set-deploy-version

script: bin/phpunit

notifications:
  email: false

language: php

php:
  - 5.4
  - 5.5

services:
  - mysql
  - memcached
  - elasticsearch
  - redis-server
  - mongodb

before_script:
  - tests/travis/install-php-runkit.sh
  - tests/travis/install-php-svm.sh
  - yes '' | travis_retry pecl install imagick
  - travis_retry pecl install stats
  - sudo apt-get install libgearman-dev && travis_retry pecl install gearman-1.0.3
  - if [ `php-config --vernum` -ge 50500 ]; then yes '' | travis_retry pecl install apcu-beta; fi
  - phpenv config-add tests/travis/php.ini
  - phpenv config-add tests/travis/php-$TRAVIS_PHP_VERSION.ini

  - composer install
  - cp tests/travis/config.php resources/config/local.php
  - bin/cm app set-deploy-version

script: bin/phpunit

notifications:
  email: false

Remove unneeded --dev param for composer
Remove unneeded --dev param for composer
