language: php
    
php:
    - 5.3
    - 5.4
    - 5.5
    - 5.6

matrix:
    fast_finish: true
    allow_failures:
        - php: 5.3

install:
    - composer install 
    - ./vendor/bin/phake app:install DB_NAME=tests CHOWN_USER=$USER CHGRP_GROUP=$USER

before_script:
    - sh -e /etc/init.d/xvfb start
    - export DISPLAY=:99.0
    - wget http://selenium-release.storage.googleapis.com/2.46/selenium-server-standalone-2.46.0.jar
    - php -S localhost:8000 > /dev/null 2>&1 &
    - java -jar selenium-server-standalone-2.46.0.jar > /dev/null 2>&1 &
    - sleep 30 

script: 
    - ./vendor/bin/phpunit --group example
    - ./vendor/bin/phpunit --exclude-group example


language: php
    
php:
    - 5.3
    - 5.4
    - 5.5
    - 5.6

matrix:
    fast_finish: true
    allow_failures:
        - php: 5.3

install:
    - composer install --dev
    - ./vendor/bin/phake app:install DB_NAME=tests CHOWN_USER=$USER CHGRP_GROUP=$USER

before_script:
    - sh -e /etc/init.d/xvfb start
    - export DISPLAY=:99.0
    - wget http://selenium-release.storage.googleapis.com/2.46/selenium-server-standalone-2.46.0.jar
    - php -S localhost:8000 > /dev/null 2>&1 &
    - java -jar selenium-server-standalone-2.46.0.jar > /dev/null 2>&1 &
    - sleep 30 

script: 
    - ./vendor/bin/phpunit --group example
    - ./vendor/bin/phpunit --exclude-group example


Use composer --dev from Travis
Use composer --dev from Travis
