language: php

php:
    - '7.0'
    - '7.1'

sudo: false

addons:
    mariadb: '10.1'

before_script:
    - phpenv config-rm xdebug.ini
    - cp .env.travis .env
    - php artisan key:generate
    - php artisan config:clear
    - mysql -e 'CREATE DATABASE travis_testing'
    - composer self-update
    - composer install --no-interaction
    - nvm install node
    - npm update -g npm
    - npm install -g yarn
    - yarn
    - npm run production
    - php artisan migrate --seed

cache:
    directories:
        - node_modules
        - vendor

script:
    - vendor/bin/phpunit


language: php

php:
    - '7.0'
    - '7.1'

dist: trusty
sudo: false

addons:
    mariadb: '10.1'

before_script:
    - phpenv config-rm xdebug.ini
    - cp .env.travis .env
    - php artisan key:generate
    - php artisan config:clear
    - mysql -e 'CREATE DATABASE travis_testing'
    - composer self-update
    - composer install --no-interaction
    - nvm install node
    - npm update -g npm
    - npm install -g yarn
    - yarn
    - npm run production
    - php artisan migrate --seed

cache:
    directories:
        - node_modules
        - vendor

script:
    - vendor/bin/phpunit


Use 14.04 instead of 12.04
Travis: Use 14.04 instead of 12.04
