From df4c7e32b1cdfb7d93c3984b0a8a4cfc245814fe Mon Sep 17 00:00:00 2001 From: Daniel Meltzer Date: Thu, 19 Jan 2017 13:48:06 -0600 Subject: [PATCH] Another Travis Fix (#3211) Make sure we use the testing env for passport:install so we write to the correct db. --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index ccb95d0fb3..83db93506e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,11 +21,11 @@ before_script: - chmod -R 777 storage - php artisan migrate --env=testing-ci --database=mysql --force - ./vendor/bin/codecept build - - php artisan key:generate --env=testing-ci - - php artisan db:seed --env=testing-ci --database=mysql --force + - php artisan --env=testing-ci key:generate + - php artisan --env=testing-ci db:seed --database=mysql --force - php artisan --env=testing-ci snipeit:create-admin --first_name=Alison --last_name=Foobar --email=me@example.com --username=snipe --password=password - php artisan --env=testing-ci snipeit:travisci-install - - php artisan passport:install + - php artisan --env=testing-ci passport:install - php artisan serve --env=testing-ci --port=8000 --host=localhost & - sleep 5 - pip install --user codecov