language: php
php:
  - "5.5"

addons:
  postgresql: "9.3"

env:
  - TEST_GROUP=ApiComputing
  - TEST_GROUP=Console,Repository
  - TEST_GROUP=Rest
  - TEST_GROUP=Model
  - TEST_GROUP=Calculator
  - TEST_GROUP=Service,__nogroup__

before_install:
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start
  - /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16

before_script:
  - ./bin/install_dependencies.sh configure
  - ./bin/build.sh

script: ./vendor/bin/phing travis

after_script:
  - wget https://scrutinizer-ci.com/ocular.phar
  - php ocular.phar code-coverage:upload --format=php-clover data/logs/tests/coverage-clover.xml

language: php
php:
  - 5.5
  - 5.6
  - hhvm
  - hhvm-nightly

addons:
  postgresql: "9.3"

env:
  - TEST_GROUP=ApiComputing
  - TEST_GROUP=Console,Repository
  - TEST_GROUP=Rest
  - TEST_GROUP=Model
  - TEST_GROUP=Calculator
  - TEST_GROUP=Service,__nogroup__

before_install:
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start
  - /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x16

before_script:
  - ./bin/install_dependencies.sh configure
  - ./bin/build.sh

script: ./vendor/bin/phing travis

after_script:
  - wget https://scrutinizer-ci.com/ocular.phar
  - php ocular.phar code-coverage:upload --format=php-clover data/logs/tests/coverage-clover.xml

matrix:
  allow_failures:
    - php: 5.6
    - php: hhvm
    - php: hhvm-nightly
Test GIMS on future version of PHP
Test GIMS on future version of PHP
