...
 
Commits (2)
......@@ -21,12 +21,13 @@ prepare_nerves:
- "$CI_PROJECT_DIR/fw/_build/"
- "$CI_PROJECT_DIR/.hex/"
- "$CI_PROJECT_DIR/.mix/"
policy: push
script:
- cd /srv/ && mix local.hex --force
- mix local.rebar --force
- mix archive.install --force hex nerves_bootstrap
- mix local.nerves --force
- 'cd $CI_PROJECT_DIR/fw && mix deps.get --only test'
- 'cd $CI_PROJECT_DIR/fw && mix deps.get --only test && mix compile'
prepare_phoenix:
stage: prepare_deps
......@@ -37,11 +38,12 @@ prepare_phoenix:
- "$CI_PROJECT_DIR/ui/_build/"
- "$CI_PROJECT_DIR/.hex/"
- "$CI_PROJECT_DIR/.mix/"
policy: push
script:
- cd /srv/ && mix local.hex --force
- mix local.rebar --force
- mix archive.install hex phx_new 1.4.1
- 'cd $CI_PROJECT_DIR/ui && mix deps.get --only test'
- 'cd $CI_PROJECT_DIR/ui && mix deps.get --only test && mix compile'
compile_with_warnings_as_errors_nerves:
stage: test
......
......@@ -9,7 +9,10 @@ defmodule Ui.MixProject do
elixirc_paths: elixirc_paths(Mix.env()),
compilers: [:phoenix, :gettext] ++ Mix.compilers(),
start_permanent: Mix.env() == :prod,
deps: deps()
deps: deps(),
dialyzer: [
plt_add_apps: [:ex_unit]
]
]
end
......