Skip to content
This repository was archived by the owner on Dec 17, 2018. It is now read-only.

Commit e269b46

Browse files
Connor RigbyConnorRigby
authored andcommitted
Treat compiler warnings as errors for CI
1 parent d5da3dd commit e269b46

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
- run: mix local.hex --force
1313
- run: mix local.rebar --force
1414
- run: mix deps.get
15-
- run: mix deps.compile
15+
- run: mix deps.compile --warnings-as-errors
1616
- run: mix compile
1717
- run:
18-
command: mix compile
18+
command: mix compile --warnings-as-errors
1919
environment:
2020
MIX_ENV: test
2121
- save_cache:

test/sqlite/sqlite_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
defmodule SqliteTest do
22
use ExUnit.Case
3-
alias Sqlite.{Query, Error, Result}
3+
alias Sqlite.{Result}
44

55
describe "open/close" do
66
test "opens a database" do

0 commit comments

Comments
 (0)