language: php

php:
  - 5.4
  - 5.5
  - 5.6

env:
  global:
    - PATH=./node_modules/.bin:$PATH

before_script:
  - composer self-update && composer install
  - openssl aes-256-cbc -K $encrypted_d40576457a66_key -iv $encrypted_d40576457a66_iv -in config/secrets.yml.enc -out config/secrets.yml -d
  - app/console redis:restore-fixtures
  - sudo apt-get update -y
  - sudo apt-get install -y graphicsmagick
  - npm install -g npm@2.2.0
  - npm install
  - bower install
  - gulp build

script: app/kahlan

language: php

php:
  - 5.4
  - 5.5
  - 5.6

env:
  global:
    - PATH=./node_modules/.bin:$PATH

before_script:
  - composer self-update && composer install
  - openssl aes-256-cbc -K $encrypted_d40576457a66_key -iv $encrypted_d40576457a66_iv -in config/secrets.yml.enc -out config/secrets.yml -d
  - sudo apt-get install -y graphicsmagick redis-server
  - app/console redis:restore-fixtures
  - npm install -g npm@2.2.0
  - npm install
  - bower install
  - gulp build

script: app/kahlan

Install redis-server before trying fixtures restore
Install redis-server before trying fixtures restore
