From cb5fa401cb02b7bef59c87fd5238f06c336a0fe4 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 9 Jan 2016 08:36:50 +0100 Subject: [PATCH] Try to get travis working again. --- .env.testing | 36 ++++++++++++++++++++++++++++++++++++ .travis.yml | 4 ++-- 2 files changed, 38 insertions(+), 2 deletions(-) create mode 100755 .env.testing diff --git a/.env.testing b/.env.testing new file mode 100755 index 0000000000..f070b244fc --- /dev/null +++ b/.env.testing @@ -0,0 +1,36 @@ +APP_ENV=testing +APP_DEBUG=true +APP_KEY=SomeRandomStringOf32CharsExactly + + +DB_CONNECTION=sqlite +DB_HOST=localhost +DB_DATABASE=homestead +DB_USERNAME=homestead +DB_PASSWORD=secret + +CACHE_DRIVER=array +SESSION_DRIVER=array +QUEUE_DRIVER=array + +DEFAULT_CURRENCY=EUR +DEFAULT_LANGUAGE=en_US + +REDIS_HOST=localhost +REDIS_PASSWORD=null +REDIS_PORT=6379 + +MAIL_DRIVER=log +MAIL_HOST=mailtrap.io +MAIL_PORT=2525 +MAIL_USERNAME=null +MAIL_PASSWORD=null +MAIL_ENCRYPTION=null + +SHOW_INCOMPLETE_TRANSLATIONS=false + +ANALYTICS_ID=abcde +RUNCLEANUP=false +SITE_OWNER=mail@example.com + +BLOCKED_DOMAINS= \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index 383b324dc1..abb00b138e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,10 +6,10 @@ php: - 5.6 install: - - composer update + - composer install - php artisan env - mv -v .env.testing .env - - touch storage/database/testing.db + - touch storage/database.sqlite - php artisan migrate --env=testing - php artisan migrate --seed --env=testing