language: php

php:
#  - 5.4
#  - 5.5
  - 5.6
#  - 7.0

#matrix:
#    allow_failures:
#        - php: 7.0

sudo: false

env: DB_DATABASE=vain DB_USERNAME=travis DB_PASSWORD=

services:
  - memcached

before_install:
  - npm install -g bower
  - npm install -g gulp
  - mysql -e 'create database vain;'

install:
  - composer install --no-interaction --prefer-source
  - npm install
  - bower install

before_script:
  - gulp
  - php artisan module:migrate --force

script: vendor/bin/phpunit

notifications:
  slack: parabelcon:AfqrMDyoikewLql9defXlWHW

language: php

php:
#  - 5.4
#  - 5.5
  - 5.6
#  - 7.0

#matrix:
#    allow_failures:
#        - php: 7.0

sudo: false

env: DB_DATABASE=vain DB_USERNAME=travis DB_PASSWORD=

services:
  - memcached

before_install:
  - npm install -g bower
  - npm install -g gulp

install:
  - composer install --no-interaction --prefer-source
  - npm install
  - bower install

before_script:
  - mysql -e 'create database vain;'
  - gulp
  - php artisan module:migrate --force

script: vendor/bin/phpunit

notifications:
  slack: parabelcon:AfqrMDyoikewLql9defXlWHW

Revert "* try to address CI problems (non-existend database)"
Revert "* try to address CI problems (non-existend database)"

This reverts commit 60567d10a75772283be2b54264c096e5f4372bb1.
