Skip to content

Commit f6775e0

Browse files
committed
Fix coveralls reporting in circle
Update excoveralls
1 parent f1d6dba commit f6775e0

8 files changed

+11
-11
lines changed

circle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ dependencies:
1414
test:
1515
override:
1616
- |
17-
if [ ${CIRCLE_PR_USERNAME} ]; then MIX_ENV=test mix test --cover; else MIX_ENV=test mix test --include requires_env --cover; fi
17+
if [ ${CIRCLE_PR_USERNAME} ]; then MIX_ENV=test mix coveralls.circle; else MIX_ENV=test mix coveralls.circle --include requires_env; fi
1818
1919
post:
2020
- mix inch.report

mix.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"ex_aws": {:hex, :ex_aws, "0.5.0", "6ca02f1e8fe8340aa2eee66d9f08efcd6ff1f9f4ef7264669d0756e0b3917218", [:mix], [{:httpoison, "~> 0.8", [hex: :httpoison, optional: true]}, {:jsx, "~> 2.5", [hex: :jsx, optional: true]}, {:poison, "~> 1.2 or ~> 2.0", [hex: :poison, optional: true]}, {:sweet_xml, "~> 0.5", [hex: :sweet_xml, optional: true]}]},
1919
"ex_doc": {:hex, :ex_doc, "0.13.2", "1059a588d2ad3ffab25a0b85c58abf08e437d3e7a9124ac255e1d15cec68ab79", [:mix], [{:earmark, "~> 1.0", [hex: :earmark, optional: false]}]},
2020
"ex_machina": {:hex, :ex_machina, "1.0.2", "1cc49e1a09e3f7ab2ecb630c17f14c2872dc4ec145d6d05a9c3621936a63e34f", [:mix], [{:ecto, "~> 2.0", [hex: :ecto, optional: true]}]},
21-
"excoveralls": {:hex, :excoveralls, "0.5.6", "35a903f6f78619ee7f951448dddfbef094b3a0d8581657afaf66465bc930468e", [:mix], [{:exjsx, "~> 3.0", [hex: :exjsx, optional: false]}, {:hackney, ">= 0.12.0", [hex: :hackney, optional: false]}]},
22-
"exjsx": {:hex, :exjsx, "3.2.0", "7136cc739ace295fc74c378f33699e5145bead4fdc1b4799822d0287489136fb", [:mix], [{:jsx, "~> 2.6.2", [hex: :jsx, optional: false]}]},
21+
"excoveralls": {:hex, :excoveralls, "0.5.7", "5d26e4a7cdf08294217594a1b0643636accc2ad30e984d62f1d166f70629ff50", [:mix], [{:exjsx, "~> 3.0", [hex: :exjsx, optional: false]}, {:hackney, ">= 0.12.0", [hex: :hackney, optional: false]}]},
22+
"exjsx": {:hex, :exjsx, "3.2.1", "1bc5bf1e4fd249104178f0885030bcd75a4526f4d2a1e976f4b428d347614f0f", [:mix], [{:jsx, "~> 2.8.0", [hex: :jsx, optional: false]}]},
2323
"fs": {:hex, :fs, "0.9.2", "ed17036c26c3f70ac49781ed9220a50c36775c6ca2cf8182d123b6566e49ec59", [:rebar], []},
2424
"gettext": {:hex, :gettext, "0.11.0", "80c1dd42d270482418fa158ec5ba073d2980e3718bacad86f3d4ad71d5667679", [:mix], []},
2525
"guardian": {:hex, :guardian, "0.13.0", "37c5b5302617276093570ee938baca146f53e1d5de1f5c2b8effb1d2fea596d2", [:mix], [{:jose, "~> 1.8", [hex: :jose, optional: false]}, {:phoenix, "~> 1.2.0", [hex: :phoenix, optional: true]}, {:plug, "~> 1.0", [hex: :plug, optional: false]}, {:poison, ">= 1.3.0", [hex: :poison, optional: false]}, {:uuid, ">=1.1.1", [hex: :uuid, optional: false]}]},
@@ -31,7 +31,7 @@
3131
"ja_resource": {:hex, :ja_resource, "0.1.0", "eed6443e7337147264bf28badabad48eb0cc32493ff06a48ac19d4b3657f5029", [:mix], [{:ecto, "~> 2.0", [hex: :ecto, optional: false]}, {:ja_serializer, "~> 0.9", [hex: :ja_serializer, optional: false]}, {:phoenix, "~> 1.1", [hex: :phoenix, optional: false]}, {:plug, "~> 1.2", [hex: :plug, optional: false]}]},
3232
"ja_serializer": {:hex, :ja_serializer, "0.11.0", "6c8ded7cfd4cd226812e97445bedd2f6d47e19c5d8b987f58cf552518c98fbd1", [:mix], [{:inflex, "~> 1.4", [hex: :inflex, optional: false]}, {:plug, "> 1.0.0", [hex: :plug, optional: false]}, {:poison, "~> 1.4 or ~> 2.0", [hex: :poison, optional: false]}, {:scrivener, "~> 1.2 or ~> 2.0", [hex: :scrivener, optional: true]}]},
3333
"jose": {:hex, :jose, "1.8.0", "1ee027c5c0ff3922e3bfe58f7891509e8f87f771ba609ee859e623cc60237574", [:mix, :rebar3], [{:base64url, "~> 0.0.1", [hex: :base64url, optional: false]}]},
34-
"jsx": {:hex, :jsx, "2.6.2", "213721e058da0587a4bce3cc8a00ff6684ced229c8f9223245c6ff2c88fbaa5a", [:mix, :rebar], []},
34+
"jsx": {:hex, :jsx, "2.8.0", "749bec6d205c694ae1786d62cea6cc45a390437e24835fd16d12d74f07097727", [:mix, :rebar], []},
3535
"metrics": {:hex, :metrics, "1.0.1", "25f094dea2cda98213cecc3aeff09e940299d950904393b2a29d191c346a8486", [:rebar3], []},
3636
"mime": {:hex, :mime, "1.0.1", "05c393850524767d13a53627df71beeebb016205eb43bfbd92d14d24ec7a1b51", [:mix], []},
3737
"mimerl": {:hex, :mimerl, "1.0.2", "993f9b0e084083405ed8252b99460c4f0563e41729ab42d9074fd5e52439be88", [:rebar3], []},

test/controllers/preview_controller_test.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ defmodule CodeCorps.PreviewControllerTest do
3232
assert attributes["body"] == "<p>A <strong>strong</strong> element</p>\n"
3333
assert attributes["markdown"] == "A **strong** element"
3434

35-
preview = Preview |> Repo.get!(id)
35+
preview = Preview |> Repo.get(id)
3636

3737
assert preview.body == "<p>A <strong>strong</strong> element</p>\n"
3838
assert preview.markdown == "A **strong** element"
@@ -47,7 +47,7 @@ defmodule CodeCorps.PreviewControllerTest do
4747

4848
id = json["data"]["id"] |> String.to_integer
4949

50-
preview = Preview |> Repo.get!(id)
50+
preview = Preview |> Repo.get(id)
5151

5252
assert preview.user_id == current_user.id
5353
end

test/controllers/project_skill_controller_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ defmodule CodeCorps.ProjectSkillControllerTest do
9292
json = conn |> post(path, payload) |> json_response(201)
9393

9494
id = json["data"]["id"] |> String.to_integer
95-
project_skill = ProjectSkill |> Repo.get!(id)
95+
project_skill = ProjectSkill |> Repo.get(id)
9696

9797
assert json["data"]["id"] == "#{project_skill.id}"
9898
assert json["data"]["type"] == "project-skill"

test/controllers/role_skill_controller_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ defmodule CodeCorps.RoleSkillControllerTest do
108108
json = conn |> post(path, payload) |> json_response(201)
109109

110110
id = json["data"]["id"] |> String.to_integer
111-
role_skill = RoleSkill |> Repo.get!(id)
111+
role_skill = RoleSkill |> Repo.get(id)
112112

113113
assert json["data"]["id"] == "#{role_skill.id}"
114114
assert json["data"]["type"] == "role-skill"

test/controllers/user_category_controller_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ defmodule CodeCorps.UserCategoryControllerTest do
8080
json = conn |> post(path, payload) |> json_response(201)
8181

8282
id = json["data"]["id"] |> String.to_integer
83-
user_category = UserCategory |> Repo.get!(id)
83+
user_category = UserCategory |> Repo.get(id)
8484

8585
assert json["data"]["id"] == "#{user_category.id}"
8686
assert json["data"]["type"] == "user-category"

test/controllers/user_role_controller_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ defmodule CodeCorps.UserRoleControllerTest do
7777
json = conn |> post(path, payload) |> json_response(201)
7878

7979
id = json["data"]["id"] |> String.to_integer
80-
user_role = UserRole |> Repo.get!(id)
80+
user_role = UserRole |> Repo.get(id)
8181

8282
assert json["data"]["id"] == "#{user_role.id}"
8383
assert json["data"]["type"] == "user-role"

test/controllers/user_skill_controller_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ defmodule CodeCorps.UserSkillControllerTest do
7777
json = conn |> post(path, payload) |> json_response(201)
7878

7979
id = json["data"]["id"] |> String.to_integer
80-
user_skill = UserSkill |> Repo.get!(id)
80+
user_skill = UserSkill |> Repo.get(id)
8181

8282
assert json["data"]["id"] == "#{user_skill.id}"
8383
assert json["data"]["type"] == "user-skill"

0 commit comments

Comments
 (0)