Skip to content

Commit

Permalink
Add Cowboy directly to library dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
hauleth committed Mar 21, 2019
1 parent 04f72ca commit bb30594
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ cache:
directories:
- $HOME/.cache/rebar3/
otp_release:
- 21.0
- 20.0
- 19.0
- 18.0
script: "./bin/checks.sh"
2 changes: 1 addition & 1 deletion bin/checks.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env sh

rebar3 as test do elvis && rebar3 as cowboy2 do xref, dialyzer, ct
rebar3 as test do elvis, xref, dialyzer, ct
4 changes: 1 addition & 3 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

{post_hooks, []}.

{deps, [{opencensus, "~> 0.6.0"}]}.
{deps, [{opencensus, "~> 0.9.0"}, cowboy]}.
{shell, [{apps, [opencensus_cowboy]}]}.
{cover_enabled, true}.
{cover_export_enabled, true}.
Expand All @@ -33,8 +33,6 @@
{test, [{plugins, [{coveralls, "1.4.0"},
{rebar3_elvis_plugin, "0.0.4"}]},
{erl_opts, [nowarn_export_all]}]},
{cowboy2, [{ct_opts, [{dir, "./test/cowboy2"}]},
{deps, [{cowboy, {git, "https://github.com/ninenines/cowboy.git", {branch, "master"}}}]}]},
{benchmark, [{src_dirs, ["src", "benchmark"]},
{deps, [{'erlang-color',
{git, "https://github.com/julianduque/erlang-color",
Expand Down

0 comments on commit bb30594

Please sign in to comment.