defmodule ExercismTestRunner.Mixfile do
  use Mix.Project

  def project do
    [app: :tests,
     version: "0.0.1",
     elixir: "~> 1.0",
     deps: deps,
     test_paths: ["exercises"]]
  end

  def application do
    [applications: [:logger]]
  end

  defp deps do
    [{:poison, "~> 1.4.0"}]
  end
end

defmodule ExercismTestRunner.Mixfile do
  use Mix.Project

  def project do
    [app: :tests,
     version: "0.0.1",
     elixir: "~> 1.0",
     deps: deps,
     test_paths: ["exercises"]]
  end

  def application do
    [applications: [:logger]]
  end

  defp deps do
    [{:poison, "~> 1.4.0"}]
  end

  defp aliases do
    ["compile": ["compile --warnings-as-errors"]]
  end
end

Change build to fail on compile warnings
Change build to fail on compile warnings

We had accumulated several compiler warnings throughout this project, and in
this PR I'm adding some configuration that will fail the CI build if there are
any compiler warnings by turning them into errors thanks to the
`--warnings-as-errors` flag.

cezarykosko/xelixir,parkerl/xelixir,exercism/xelixir