language: php

php:
  - 7.0
  - 7.1

sudo: false

services:
  - mysql

env:
  - ARTISAN_DB_HOST=127.0.0.1 ARTISAN_DB_PORT=3306 ARTISAN_DB_USER=travis ARTISAN_DB_PASS=

cache:
  directories:
    - $HOME/.composer/cache

before_install:
  - travis_retry composer self-update
  - mysql -e 'CREATE DATABASE IF NOT EXISTS suitey_test_default;'
  - mysql -e 'CREATE DATABASE IF NOT EXISTS suitey_test_foo;'
  - mysql -e 'CREATE DATABASE IF NOT EXISTS suitey_test_bar;'

install:
  - composer install --no-interaction --prefer-dist --no-suggest

script: vendor/bin/phpunit

after_success:
  - bash <(curl -s https://codecov.io/bash)

language: php

php:
  - 7.0
  - 7.1

sudo: false

services:
  - mysql

env:
  - ARTISAN_DB_HOST=127.0.0.1 ARTISAN_DB_PORT=3306 ARTISAN_DB_USER=travis ARTISAN_DB_PASS=""

cache:
  directories:
    - $HOME/.composer/cache

before_install:
  - travis_retry composer self-update
  - mysql -e 'CREATE DATABASE IF NOT EXISTS suitey_test_default;'
  - mysql -e 'CREATE DATABASE IF NOT EXISTS suitey_test_foo;'
  - mysql -e 'CREATE DATABASE IF NOT EXISTS suitey_test_bar;'

install:
  - composer install --no-interaction --prefer-dist --no-suggest

script: vendor/bin/phpunit

after_success:
  - bash <(curl -s https://codecov.io/bash)

Fix Traivs config again again
Fix Traivs config again again
