SHARE
TWEET

Untitled

a guest Jun 25th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ** (exit) an exception was raised:
  2.     ** (MatchError) no match of right hand side value: :error
  3.         cover.erl:1580: :cover.do_compile_beam2/5
  4.         cover.erl:1480: :cover.do_compile_beam/3
  5.         (stdlib) lists.erl:1239: :lists.map/2
  6.         cover.erl:2795: anonymous fn/2 in :cover.pmap_spawn/4
  7.     cover.erl:585: :cover.call/1
  8.     lib/excoveralls/cover.ex:12: ExCoveralls.Cover.compile/1
  9.     lib/excoveralls.ex:32: ExCoveralls.start/2
  10.     (mix) lib/mix/tasks/test.ex:351: Mix.Tasks.Test.run/1
  11.     (mix) lib/mix/task.ex:331: Mix.Task.run_task/3
  12.     (mix) lib/mix/task.ex:365: Mix.Task.run_alias/3
  13.     (mix) lib/mix/task.ex:292: Mix.Task.run/2
  14.     lib/mix/tasks.ex:54: Mix.Tasks.Coveralls.do_run/2
  15.  
  16. 10:03:50.512 [error] Process #PID<0.4329.0> raised an exception
  17. ** (MatchError) no match of right hand side value: :error
  18.     cover.erl:1580: :cover.do_compile_beam2/5
  19.     cover.erl:1480: :cover.do_compile_beam/3
  20.     (stdlib) lists.erl:1239: :lists.map/2
  21.     cover.erl:2795: anonymous fn/2 in :cover.pmap_spawn/4
  22.      
  23. defmodule Tow.MixProject do
  24.   use Mix.Project
  25.  
  26.   def project do
  27.     [
  28.       app: :tow,
  29.       version: "0.1.0",
  30.       elixir: "~> 1.8",
  31.       compilers: [:phoenix] ++ Mix.compilers(),
  32.       start_permanent: Mix.env() == :prod,
  33.       test_coverage: [tool: ExCoveralls],
  34.       preferred_cli_env: [
  35.         coveralls: :test,
  36.         "coveralls.detail": :test,
  37.         "coveralls.post": :test,
  38.         "coveralls.html": :test
  39.       ],
  40.       elixirc_paths: elixirc_paths(Mix.env()),
  41.       deps: deps(),
  42.       aliases: aliases()
  43.     ]
  44.   end
  45.  
  46.   # Run "mix help compile.app" to learn about applications.
  47.   def application do
  48.     [
  49.       extra_applications: [:logger, :plug_cowboy],
  50.       mod: {Tow.Application, []}
  51.     ]
  52.   end
  53.  
  54.   defp elixirc_paths(:test), do: ["lib", "test/support"]
  55.   defp elixirc_paths(_), do: ["lib"]
  56.  
  57.   defp deps do
  58.     [
  59.       {:phoenix, "~> 1.4"},
  60.       {:flow, "~> 0.14"},
  61.       {:timex, "~> 3.1"},
  62.       {:math, "~> 0.3.0"},
  63.       {:plug_cowboy, "~> 2.0"},
  64.       {:poison, "~> 3.1"},
  65.       {:ecto_sql, "~> 3.0"},
  66.       {:mariaex, "~> 0.8"},
  67.       {:statistics, "~> 0.5.0"},
  68.       {:elixir_uuid, "~> 1.2"},
  69.       {:ex_aws, "~> 2.1"},
  70.       {:ex_aws_s3, "~> 2.0"},
  71.       {:config_tuples, "~> 0.2.0"},
  72.       # dev / test
  73.       {:benchee, "~> 1.0", only: :dev},
  74.       {:phoenix_live_reload, "~> 1.0", only: :dev},
  75.       {:ex_machina, "~> 2.2.2", only: :test},
  76.       {:faker, "~> 0.10", only: :test},
  77.       {:excoveralls, "~> 0.10", only: :test}
  78.     ]
  79.   end
  80.  
  81.   # Aliases are shortcuts or tasks specific to the current project.
  82.   # For example, to create, migrate and run the seeds file at once:
  83.   #
  84.   #     $ mix ecto.setup
  85.   #
  86.   # See the documentation for `Mix` for more info on aliases.
  87.   defp aliases do
  88.     [
  89.       "ecto.setup": ["ecto.create", "ecto.load", "ecto.migrate"],
  90.       "ecto.reset": ["ecto.drop", "ecto.setup"],
  91.       test: ["ecto.create --quiet", "ecto.migrate", "test"]
  92.     ]
  93.   end
  94. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top