forked from AkkomaGang/akkoma
Merge branch 'docker-speedup' into 'develop'
Docker speedup See merge request pleroma/pleroma!837
This commit is contained in:
commit
79e503b3f5
2 changed files with 4 additions and 3 deletions
|
@ -1,7 +1,8 @@
|
||||||
image: elixir:1.7.2
|
image: elixir:1.7.2
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- postgres:9.6.2
|
- name: postgres:9.6.2
|
||||||
|
command: ["postgres", "-c", "fsync=off", "-c", "synchronous_commit=off", "-c", "full_page_writes=off"]
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
POSTGRES_DB: pleroma_test
|
POSTGRES_DB: pleroma_test
|
||||||
|
@ -35,4 +36,4 @@ lint:
|
||||||
unit-testing:
|
unit-testing:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- mix test --trace
|
- mix test --trace --preload-modules
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
|
# Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
|
||||||
# SPDX-License-Identifier: AGPL-3.0-only
|
# SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
defmodule Pleroma.Web.CommonAPI.Test do
|
defmodule Pleroma.Web.CommonAPITest do
|
||||||
use Pleroma.DataCase
|
use Pleroma.DataCase
|
||||||
alias Pleroma.Web.CommonAPI
|
alias Pleroma.Web.CommonAPI
|
||||||
alias Pleroma.User
|
alias Pleroma.User
|
||||||
|
|
Loading…
Reference in a new issue