language: php

php:
  - 5.6
  - 7.0

before_script:
  - cp .env.travis .env
  - mysql -e 'create database bana_test;'
  - composer self-update
  - composer install --no-interaction
  - php artisan migrate --force
  
script:
  - vendor/bin/phpunit

after_success:
  - curl -Ss https://forge.laravel.com/servers/63597/sites/141454/deploy/http?token=$FORGE_VFTK

language: php

php:
  - 5.6
  - 7.0

before_script:
  - cp .env.travis .env
  - mysql -e 'create database bana_test;'
  - composer self-update
  - composer install --no-interaction
  - php artisan migrate --force
  
script:
  - vendor/bin/phpunit

after_success:
  - curl -Ss https://forge.laravel.com/servers/63597/sites/141454/deploy/http?token=$FORGE_VFTK

notifications:
  on_success: always
  on_failure: always
  slack: vftk:$FORGE_VFTK_SLACK
Build notification in Slack after successful build
Build notification in Slack after successful build
