Skip to content

Commit 0322a2b

Browse files
committed
debugging travis: need more output
1 parent d94cfdc commit 0322a2b

File tree

3 files changed

+10
-13
lines changed

3 files changed

+10
-13
lines changed

.travis.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ sudo: required
22
language: elixir
33

44
elixir:
5-
- 1.4
6-
- 1.5
7-
- 1.6
8-
- 1.7
5+
# - 1.4
6+
# - 1.5
7+
# - 1.6
8+
# - 1.7
99
- 1.8
1010

1111
cache:
@@ -36,7 +36,7 @@ script:
3636

3737
env:
3838
matrix:
39-
- MONGOVERSION=3.2.22 TRAVIS_NODE_VERSION=4
40-
- MONGOVERSION=3.4.18 TRAVIS_NODE_VERSION=4
41-
- MONGOVERSION=3.6.9 TRAVIS_NODE_VERSION=4
39+
# - MONGOVERSION=3.2.22 TRAVIS_NODE_VERSION=4
40+
# - MONGOVERSION=3.4.18 TRAVIS_NODE_VERSION=4
41+
# - MONGOVERSION=3.6.9 TRAVIS_NODE_VERSION=4
4242
- MONGOVERSION=4.0.8 TRAVIS_NODE_VERSION=4

lib/mongo.ex

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -188,12 +188,7 @@ defmodule Mongo do
188188
readConcern: opts[:read_concern]
189189
] |> filter_nils()
190190

191-
case opts[:debug] do
192-
true -> IO.puts inspect cmd
193-
_ -> nil
194-
end
195-
196-
opts = Keyword.drop(opts, ~w(full_document resume_after start_at_operation_time start_after explain allow_disk_use collation bypass_document_validation hint comment read_concern debug)a)
191+
opts = Keyword.drop(opts, ~w(full_document resume_after start_at_operation_time start_after explain allow_disk_use collation bypass_document_validation hint comment read_concern)a)
197192

198193
on_resume_token = on_resume_token || (fn _token -> nil end)
199194
change_stream_cursor(topology_pid, cmd, on_resume_token, opts)

lib/mongo/cursor.ex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ defmodule Mongo.Cursor do
8989

9090
def aggregate(topology_pid, cmd, fun, opts) do
9191

92+
IO.puts inspect cmd
93+
9294
with {:ok, conn, opts} <- select_server(topology_pid, opts),
9395
{:ok, %{"ok" => ok,
9496
"operationTime" => op_time,

0 commit comments

Comments
 (0)