mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
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:
parent
ad4bf83aaa
commit
df4c7e32b1
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue