add drone ci

This commit is contained in:
2022-01-23 00:36:35 -05:00
parent 265bbcabc9
commit 5075a1bd9b
3 changed files with 34 additions and 1 deletions

View File

@ -10,7 +10,7 @@ config :bcrypt_elixir, :log_rounds, 1
# Run `mix help test` for more information.
config :cannery, Cannery.Repo,
url:
System.get_env("DATABASE_URL") ||
System.get_env("TEST_DATABASE_URL") ||
"ecto://postgres:postgres@localhost/cannery_test#{System.get_env("MIX_TEST_PARTITION")}",
pool: Ecto.Adapters.SQL.Sandbox,
pool_size: 10