Skip to content

Commit

Permalink
[bitcrowd#16] Set up continuous integration checks
Browse files Browse the repository at this point in the history
  • Loading branch information
pmeinhardt committed Mar 24, 2017
1 parent 3e049d3 commit b9e7df3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b9e7df3

Please sign in to comment.