language: php
php:
  - "5.5"
  - "5.6"
before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -y phantomjs screen
before_script:
  - mysql -e 'create database homestead;'
  - mysql -e "GRANT ALL PRIVILEGES ON homestead.* TO 'homestead'@'%' IDENTIFIED BY 'secret'" -uroot
  - screen -S server -d -m phantomjs --webdriver=4444
  - cp .env.example .env
  - "composer self-update"
  - "composer install --dev --no-interaction"
  - php artisan migrate --force
script:
#  - mkdir -p build/logs
  - ./vendor/bin/codecept run -vvv
#  - SECRET_KEY=mHu5hXL0NzteWE4wVlbJsah55o2LRpgF
#after_script:
# - vendor/bin/coveralls -v
language: php
php:
  - "5.5"
  - "5.6"
  - "hhvm"
  - "7"
before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -y phantomjs screen
before_script:
  - mysql -e 'create database homestead;'
  - mysql -e "GRANT ALL PRIVILEGES ON homestead.* TO 'homestead'@'%' IDENTIFIED BY 'secret'" -uroot
  - screen -S server -d -m phantomjs --webdriver=4444
  - cp .env.example .env
  - "composer self-update"
  - "composer install --dev --no-interaction"
  - php artisan migrate --force
script:
#  - mkdir -p build/logs
  - ./vendor/bin/codecept run -vvv
#  - SECRET_KEY=mHu5hXL0NzteWE4wVlbJsah55o2LRpgF
#after_script:
# - vendor/bin/coveralls -v
Test hhvm and php 7
Test hhvm and php 7
