Another Travis Fix (#3211)

Make sure we use the testing env for passport:install so we write to the correct db.
This commit is contained in:
Daniel Meltzer 2017-01-19 13:48:06 -06:00 committed by snipe
parent ad4bf83aaa
commit df4c7e32b1

View file

@ -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