diff --git a/.gitignore b/.gitignore index 6e1db0f1..c673e0d6 100644 --- a/.gitignore +++ b/.gitignore @@ -7,7 +7,8 @@ # The directory Mix downloads your dependencies sources to. /deps -# Where 3rd-party dependencies like ExDoc output generated docs. +# Where 3rd-party dependencies like ExDoc and InchEx output generated docs. +/docs /doc # If the VM crashes, it generates a dump, let's ignore it too. diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..e9c8ebf9 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,10 @@ +language: elixir +elixir: + - 1.3 + - 1.4 +script: + # TODO: Fix existing issues and enable credo code checks + # - mix credo --strict + - mix test +after_script: + - mix inch.report diff --git a/mix.exs b/mix.exs index d0ecdd4a..a9c84990 100644 --- a/mix.exs +++ b/mix.exs @@ -24,8 +24,8 @@ defmodule SSHKit.Mixfile do defp deps do [{:credo, "~> 0.7", only: [:dev, :test]}, - {:ex_doc, "~> 0.14", only: [:dev]}, - {:inch_ex, ">= 0.0.0", only: [:dev]}] + {:ex_doc, "~> 0.14", only: [:dev], runtime: false}, + {:inch_ex, "~> 0.5", only: [:dev, :test]}] end defp description do