From 54ac4fb412ac7f5e464471d8809c239824d119f7 Mon Sep 17 00:00:00 2001 From: mtuchi Date: Thu, 10 Oct 2019 18:13:38 +0300 Subject: [PATCH] feat: add basic travis.yml file --- .travis.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..9e6130d --- /dev/null +++ b/.travis.yml @@ -0,0 +1,25 @@ +language: php + +php: + - 7.2 + +before_script: + - cp .env.example .env + - composer self-update + - composer install --no-interaction + - php artisan key:generate + - php artisan migrate + +script: + - vendor/bin/phpunit + +before_install: + - mysql -e 'create database laravel;' + +services: + - mysql + +cache: + - directories: + - vendor + - node_modules \ No newline at end of file