Browse Source

Remove useless .env.travis file

Bubka 3 years ago
parent
commit
22880b8429
2 changed files with 2 additions and 12 deletions
  1. 0 9
      .env.travis
  2. 2 3
      .travis.yml

+ 0 - 9
.env.travis

@@ -1,9 +0,0 @@
-APP_ENV=testing
-APP_KEY=
-
-# See connections.testing in config/database.php
-DB_CONNECTION=testing
-
-CACHE_DRIVER=array
-SESSION_DRIVER=array
-QUEUE_DRIVER=sync

+ 2 - 3
.travis.yml

@@ -10,10 +10,9 @@ php:
 before_script:
   - travis_retry composer self-update
   - travis_retry composer install --no-interaction
-  - cp .env.travis .env
-  - cat .env
   - php artisan key:generate
-  - php artisan env
+  # no need to use a dedicated Travis .env file as phpunit
+  # will use .env.testing by default
 
 script:
   - vendor/bin/phpunit --coverage-clover=coverage.xml