Skip to content

Commit

Permalink
Another Travis Fix (snipe#3211)
Browse files Browse the repository at this point in the history
Make sure we use the testing env for passport:install so we write to the correct db.
  • Loading branch information
dmeltzer authored and snipe committed Jan 19, 2017
1 parent ad4bf83 commit df4c7e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit df4c7e3

Please sign in to comment.