Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85627785
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 448f767..be7fd4a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,39 +1,39 @@
# SPDX-FileCopyrightText: 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: LGPL-3.0-only
-image: elixir:1.7
+image: elixir:1.13
variables:
MIX_ENV: test
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- deps
- _build
stages:
- test
- publish
before_script:
- mix local.hex --force
- mix local.rebar --force
- mix deps.get
- mix compile --force
lint:
stage: test
script:
- mix format --check-formatted
unit-testing:
stage: test
coverage: '/(\d+\.\d+\%) \| Total/'
script:
- mix test --trace --preload-modules --cover
analysis:
stage: test
script:
- mix credo --strict --only=warnings,todo,fixme,consistency,readability
diff --git a/config/config.exs b/config/config.exs
index 08941af..d4210f3 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -1,10 +1,10 @@
# SPDX-FileCopyrightText: 2017-2019 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: LGPL-3.0-only
-use Mix.Config
+import Config
config :http_signatures, adapter: HTTPSignatures.NullAdapter
if Mix.env() == :test do
config :http_signatures, adapter: HTTPSignatures.TestAdapter
end
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sat, Aug 8, 4:17 AM (9 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1722871
Default Alt Text
(1 KB)
Attached To
Mode
R18 http_signatures
Attached
Detach File
Event Timeline
Log In to Comment