diff --git a/.travis.yml b/.travis.yml index 6b08972..d457129 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,7 @@ otp_release: env: - MIX_ENV=test script: - - "mix do deps.get, compile" + - mix do deps.get, compile after_script: - - "MIX_ENV=docs mix do deps.get, inch.report" + - mix deps.get --only docs + - MIX_ENV=docs mix inch.report diff --git a/mix.exs b/mix.exs index 2075d73..3874a70 100644 --- a/mix.exs +++ b/mix.exs @@ -23,7 +23,7 @@ defmodule Vultr.Mixfile do defp deps do [ - {:inch_ex, "~> 0.5", only: :dev}, + {:inch_ex, "~> 0.5", only: :docs}, {:ex_doc, "~> 0.14", only: :dev, runtime: false}, {:tesla, "~> 0.7.1"}, {:ibrowse, "~> 4.2"},