Skip to content

Commit 687fba5

Browse files
authored
Merge pull request #15 from dwyl/setup-travis-#14
add .travis.yml and remove github actions CI
2 parents 2b1f9b0 + 06393e8 commit 687fba5

4 files changed

Lines changed: 25 additions & 23 deletions

File tree

.github/workflows/elixir.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

.travis.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
language: elixir
2+
elixir:
3+
- 1.9
4+
env:
5+
MIX_ENV=test
6+
script:
7+
- mix coveralls.json
8+
after_success:
9+
- bash <(curl -s https://codecov.io/bash) # send coverage report
10+
cache:
11+
directories:
12+
- _build
13+
- deps

mix.exs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,14 @@ defmodule ElixirAuthGoogle.MixProject do
1212
start_permanent: Mix.env() == :prod,
1313
deps: deps(),
1414
description: @description,
15-
package: package()
15+
package: package(),
16+
test_coverage: [tool: ExCoveralls],
17+
preferred_cli_env: [
18+
coveralls: :test,
19+
"coveralls.json": :test,
20+
"coveralls.html": :test
21+
]
22+
1623
]
1724
end
1825

@@ -27,7 +34,8 @@ defmodule ElixirAuthGoogle.MixProject do
2734
defp deps do
2835
[
2936
{:httpoison, "~> 1.6"},
30-
{:poison, "~> 4.0"}
37+
{:poison, "~> 4.0"},
38+
{:excoveralls, "~> 0.12.1", only: [:test, :dev]}
3139
]
3240
end
3341

mix.lock

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
%{
22
"certifi": {:hex, :certifi, "2.5.1", "867ce347f7c7d78563450a18a6a28a8090331e77fa02380b4a21962a65d36ee5", [:rebar3], [{:parse_trans, "~>3.3", [hex: :parse_trans, repo: "hexpm", optional: false]}], "hexpm"},
3+
"excoveralls": {:hex, :excoveralls, "0.12.1", "a553c59f6850d0aff3770e4729515762ba7c8e41eedde03208182a8dc9d0ce07", [:mix], [{:hackney, "~> 1.0", [hex: :hackney, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm"},
34
"hackney": {:hex, :hackney, "1.15.2", "07e33c794f8f8964ee86cebec1a8ed88db5070e52e904b8f12209773c1036085", [:rebar3], [{:certifi, "2.5.1", [hex: :certifi, repo: "hexpm", optional: false]}, {:idna, "6.0.0", [hex: :idna, repo: "hexpm", optional: false]}, {:metrics, "1.0.1", [hex: :metrics, repo: "hexpm", optional: false]}, {:mimerl, "~>1.1", [hex: :mimerl, repo: "hexpm", optional: false]}, {:ssl_verify_fun, "1.1.5", [hex: :ssl_verify_fun, repo: "hexpm", optional: false]}], "hexpm"},
45
"httpoison": {:hex, :httpoison, "1.6.2", "ace7c8d3a361cebccbed19c283c349b3d26991eff73a1eaaa8abae2e3c8089b6", [:mix], [{:hackney, "~> 1.15 and >= 1.15.2", [hex: :hackney, repo: "hexpm", optional: false]}], "hexpm"},
56
"idna": {:hex, :idna, "6.0.0", "689c46cbcdf3524c44d5f3dde8001f364cd7608a99556d8fbd8239a5798d4c10", [:rebar3], [{:unicode_util_compat, "0.4.1", [hex: :unicode_util_compat, repo: "hexpm", optional: false]}], "hexpm"},
7+
"jason": {:hex, :jason, "1.1.2", "b03dedea67a99223a2eaf9f1264ce37154564de899fd3d8b9a21b1a6fd64afe7", [:mix], [{:decimal, "~> 1.0", [hex: :decimal, repo: "hexpm", optional: true]}], "hexpm"},
68
"metrics": {:hex, :metrics, "1.0.1", "25f094dea2cda98213cecc3aeff09e940299d950904393b2a29d191c346a8486", [:rebar3], [], "hexpm"},
79
"mimerl": {:hex, :mimerl, "1.2.0", "67e2d3f571088d5cfd3e550c383094b47159f3eee8ffa08e64106cdf5e981be3", [:rebar3], [], "hexpm"},
810
"parse_trans": {:hex, :parse_trans, "3.3.0", "09765507a3c7590a784615cfd421d101aec25098d50b89d7aa1d66646bc571c1", [:rebar3], [], "hexpm"},

0 commit comments

Comments
 (0)