language: php

php:
  - 5.6
  - 7.0
  - 7.1

before_install:
  - if [[ $TRAVIS_PHP_VERSION != 7.1 ]] ; then phpenv config-rm xdebug.ini; fi
  - mv .env.example .env
  - travis_retry composer self-update

install:
  - composer install

script:
  - php artisan canvas:publish:assets -y
  - php artisan canvas:publish:config -y
  - php artisan key:generate
  - vendor/bin/phpunit
language: php

php:
  - 5.6
  - 7.0
  - 7.1

before_install:
  - if [[ $TRAVIS_PHP_VERSION != 7.1 ]] ; then phpenv config-rm xdebug.ini; fi
  - mv .env.example .env
  - travis_retry composer self-update

install:
  - composer install

before_script:
  - php artisan canvas:publish:assets -y
  - php artisan canvas:publish:config -y
  - php artisan key:generate
  - echo '1485524707' > storage/canvas_installed.lock

script:
  - vendor/bin/phpunit
Create the installed lock file
:lock: Create the installed lock file
