language: php

matrix:
  include:
    - php: 5.3.3
      env: DB=mysqli
    - php: 5.3
      env: DB=mysqli
    - php: 5.4
      env: DB=mysqli
    - php: 5.4
      env: DB=mysql
    - php: 5.4
      env: DB=mariadb
    - php: 5.4
      env: DB=postgres
    - php: 5.4
      env: DB=sqlite3
    - php: 5.5
      env: DB=mysqli
    - php: 5.6
      env: DB=mysqli
    - php: 7.0
      env: DB=mysqli
    - php: hhvm
      env: DB=mysqli
  allow_failures:
    - php: hhvm
  fast_finish: true

branches:
  only:
    - master
    - develop
    - /^dev\/.*$/

install:
  - composer install

script:
  - vendor/bin/phpunit 

language: php

matrix:
  include:
    - php: 5.3
      env: DB=mysqli
    - php: 5.4
      env: DB=mysqli
#    - php: 5.4
#      env: DB=mysql
#    - php: 5.4
#      env: DB=mariadb
#    - php: 5.4
#      env: DB=postgres
#    - php: 5.4
#      env: DB=sqlite3
    - php: 5.5
      env: DB=mysqli
    - php: 5.6
      env: DB=mysqli
    - php: 7.0
      env: DB=mysqli
    - php: hhvm
      env: DB=mysqli
#  allow_failures:
#    - php: hhvm
  fast_finish: true

branches:
  only:
    - master
    - develop
    - /^dev\/.*$/

install:
  - composer install

script:
  - vendor/bin/phpunit 

Remove php 5.3.3 from tests, don't test 5.4 multiple times without databases
Remove php 5.3.3 from tests, don't test 5.4 multiple times without databases
