Skip to content
This repository was archived by the owner on Mar 19, 2021. It is now read-only.

Commit 5ca9245

Browse files
mmmriesConnorRigby
authored andcommitted
fix last credo issue and re-enable for CI
1 parent 4fc7364 commit 5ca9245

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.circleci/config.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: 2.0
22
jobs:
33
build:
44
docker:
5-
- image: circleci/elixir:1.7.3
5+
- image: circleci/elixir:1.8.1
66
environment:
77
MIX_ENV: test
88
steps:
@@ -15,8 +15,7 @@ jobs:
1515
- run: mix deps.get
1616
- run: mix deps.compile
1717
- run: mix compile
18-
# not passing yet
19-
# - run: mix credo --strict
18+
- run: mix credo --strict
2019
- run: mix coveralls.circle
2120
- save_cache:
2221
key: v2-dependency-cache-{{ checksum "mix.lock" }}

lib/sqlitex/server.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ defmodule Sqlitex.Server do
4545

4646
use GenServer
4747

48-
alias Sqlitex.Statement
49-
alias Sqlitex.Server.StatementCache, as: Cache
5048
alias Sqlitex.Config
49+
alias Sqlitex.Server.StatementCache, as: Cache
50+
alias Sqlitex.Statement
5151

5252
@doc """
5353
Starts a SQLite Server (GenServer) instance.

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ defmodule Sqlitex.Mixfile do
3535
[
3636
{:esqlite, "~> 0.4"},
3737
{:decimal, "~> 1.7"},
38-
{:credo, "~> 0.10", only: :dev},
38+
{:credo, "~> 0.10", only: [:dev, :test]},
3939
{:dialyxir, "~> 1.0.0-rc.4", only: :dev, runtime: false},
4040
{:excoveralls, "~> 0.10", only: :test},
4141
{:ex_doc, "~> 0.20", only: :docs, runtime: false},

0 commit comments

Comments
 (0)