diff options
author | Hadrien <ketsapiwiq@protonmail.com> | 2020-12-26 13:59:27 +0000 |
---|---|---|
committer | Pierre de Lacroix <pierre@pdelacroix.com> | 2020-12-26 13:59:27 +0000 |
commit | 4040c1400ace8ce5abc9b3c28d1cd67bd8f137d1 (patch) | |
tree | d3c24da6782f80c4043ba5f59241107f73850b1e /mix.exs | |
parent | allow runtime configuration of homserver token (diff) |
Improve CI
Diffstat (limited to 'mix.exs')
-rw-r--r-- | mix.exs | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -17,7 +17,13 @@ defmodule MatrixAppService.MixProject do aliases: aliases(), deps: deps(), docs: [main: "MatrixAppService"], - test_coverage: test_coverage(System.get_env("CI")) + test_coverage: test_coverage(System.get_env("CI")), + + # elixirc_options: [warnings_as_errors: true], + dialyzer: [ + plt_file: {:no_warn, "priv/plts/dialyzer.plt"}, + ignore_warnings: ".dialyzer_ignore.exs" + ] ] end @@ -65,7 +71,9 @@ defmodule MatrixAppService.MixProject do {:ex_doc, "~> 0.22", only: :dev, runtime: false}, {:junit_formatter, "~> 3.1", only: :test}, {:cobertura_cover, "~> 0.9.0", only: :test}, - {:postgrex, ">= 0.0.0", only: :test} + {:postgrex, ">= 0.0.0", only: :test}, + {:credo, "~> 1.4.1", only: [:dev, :test], runtime: false}, + {:dialyxir, "~> 1.0.0", only: [:dev, :test], runtime: false} ] end |