language: php
php:
  - 7.0
  - 7.1

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

install:
  - rm composer.lock
  - composer update --no-scripts
  - cp .env.testing .env
  - php artisan clear-compiled
  - php artisan optimize
  - php artisan env
  - cp .env.testing .env
  - mv storage/database/databasecopy.sqlite storage/database/database.sqlite

script:
  - phpunit -c phpunit.coverage.xml

after_success:
  - travis_retry php vendor/bin/coveralls -x storage/build/clover.xml

# safelist
branches:
  only:
  - develop
  - master
language: php
php:
  - 7.0
  - 7.1

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

install:
  - rm composer.lock
  - composer update --no-scripts
  - cp .env.testing .env
  - php artisan clear-compiled
  - php artisan optimize
  - php artisan env
  - cp .env.testing .env
  - mv storage/database/databasecopy.sqlite storage/database/database.sqlite
  - mkdir -p build/logs

script:
  - phpunit -c phpunit.coverage.xml

after_success:
  - travis_retry php vendor/bin/coveralls -x storage/build/clover.xml

# safelist
branches:
  only:
  - develop
  - master
Make dir where json log will end up.
Make dir where json log will end up.
