language: php

sudo: true

dist: trusty

php:
  - 7.0
  - 7.1
  - hhvm
  - nightly

matrix:
  allow_failures:
    - php: hhvm
    - php: nightly

before_script:
  - curl -sSL https://dl.bintray.com/xp-runners/generic/xp-run-master.sh > xp-run
  - composer install --prefer-dist
  - echo "vendor/autoload.php" > composer.pth
  - echo "test.xar" > composer.pth
  - echo "hhvm.php7.all = 1" | sudo tee -a /etc/hhvm/php.ini

script:
  - (EXCD=0; for i in `ls -1 src/test/config/unittest/*.ini`; do echo "---> $i"; sh xp-run xp.unittest.Runner $i; RES=$?; if [ $RES -ne 0 ]; then EXCD=$RES; fi; done; exit $EXCD;)

language: php

sudo: true

dist: trusty

php:
  - 7.0
  - 7.1
  - hhvm
  - nightly

matrix:
  allow_failures:
    - php: hhvm
    - php: nightly

before_script:
  - curl -sSL https://dl.bintray.com/xp-runners/generic/xp-run-master.sh > xp-run
  - echo "test.xar" > composer.pth
  - if [ -f /etc/hhvm/php.ini] ; then echo "hhvm.php7.all = 1" | sudo tee -a /etc/hhvm/php.ini ; fi

script:
  - (EXCD=0; for i in `ls -1 src/test/config/unittest/*.ini`; do echo "---> $i"; sh xp-run xp.unittest.Runner $i; RES=$?; if [ $RES -ne 0 ]; then EXCD=$RES; fi; done; exit $EXCD;)

Remove "composer install" for the moment
Remove "composer install" for the moment
