diff --git a/.env.travis b/.env.travis new file mode 100644 index 000000000..8452a6125 --- /dev/null +++ b/.env.travis @@ -0,0 +1,9 @@ +APP_NAME=Laravel +APP_ENV=testing +APP_KEY=base64:nkScfqkJ+t4c4JMZOgO4hEK6gy0rOEF9f71FuL6AuzI= +APP_DEBUG=true +APP_LOG_LEVEL=debug +APP_URL=http://localhost + +DB_CONNECTION=sqlite +DB_DATABASE=:memory: \ No newline at end of file diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..45c952d08 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,14 @@ +language: php + +php: + - 7.0 + +before_script: + - cp .env.travis .env + - composer self-update + - composer install --no-interaction + - php artisan key:generate + - php artisan migrate + +script: + - vendor/bin/phpunit \ No newline at end of file