language: php
dist: trusty

matrix:
  include:
    - php: '5.6'
    - php: '7.0'
    - php: '7.1'
  fast_finish: true

before_script:
  - chmod 777 ./tests/travis/setup_arangodb.sh
  - ./tests/travis/setup_arangodb.sh

script: 
  - ./phpunit --configuration ./tests/phpunit-connection-close.xml
  - ./phpunit --configuration ./tests/phpunit-connection-keep-alive.xml

after_script:
  - ./tests/travis/teardown_arangodb.sh

language: php

dist: trusty

matrix:
  fast_finish: true
  include:
    - php: '5.6'
    - php: '7.0'
    - php: '7.1'
  allow_failures:
    - php: hhvm

before_script:
  - chmod 777 ./tests/travis/setup_arangodb.sh
  - ./tests/travis/setup_arangodb.sh

script: 
  - ./phpunit --configuration ./tests/phpunit-connection-close.xml
  - ./phpunit --configuration ./tests/phpunit-connection-keep-alive.xml

after_script:
  - ./tests/travis/teardown_arangodb.sh

Test HHVM but allow failures.
Test HHVM but allow failures.
