diff --git a/.travis.yml b/.travis.yml index 3bfa454..b321d45 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,15 +5,12 @@ script: - bash -ex .travis-opam.sh env: global: - - PINS="logs-async.dev:https://github.com/vbmithr/logs-async.git async-uri.dev:https://github.com/vbmithr/async-uri.git monocypher.dev:https://github.com/vbmithr/ocaml-monocypher.git fixtypes.dev:. fix.dev:. fix-ftx.dev:. fix-async.dev:. fix-coinbasepro.dev:. fix-deribit.dev:. fixmsg.dev:." + - PINS="logs-async.dev async-uri.dev fixtypes.dev:. fix.dev:. fix-async.dev:. fix-ftx.dev:. fix-coinbasepro.dev:. fix-deribit.dev:. fixmsg.dev:." + matrix: - - OCAML_VERSION="4.08" PACKAGE="fix" - OCAML_VERSION="4.09" PACKAGE="fix" - - OCAML_VERSION="4.08" PACKAGE="fixtypes" - OCAML_VERSION="4.09" PACKAGE="fixtypes" - - OCAML_VERSION="4.08" PACKAGE="fix-async" - OCAML_VERSION="4.09" PACKAGE="fix-async" - - OCAML_VERSION="4.08" PACKAGE="fixmsg" - OCAML_VERSION="4.09" PACKAGE="fixmsg" os: - linux diff --git a/fix-async.opam b/fix-async.opam index 7509415..e3f5105 100644 --- a/fix-async.opam +++ b/fix-async.opam @@ -12,14 +12,19 @@ depends: [ "ptime" {>= "0.8.5"} "uri-sexp" {>= "3.1.0"} "logs" {>= "0.7.0"} - "fix" {= version} - "async-uri" {= version} - "logs-async" {= version} + "fix" + "async-uri" {>= "0.1"} + "logs-async" {>= "1.1"} "core" {>= "v0.12.0"} "async" {>= "v0.12.0"} "angstrom-async" {>= "0.12.1"} "faraday-async" {>= "0.7.0"} ] +pin-depends: [ + ["fix.dev" "git+https://github.com/vbmithr/ocaml-fix.git"] + ["async-uri.dev" "git+https://github.com/vbmithr/async-uri.git"] + ["logs-async.dev" "git+https://github.com/vbmithr/logs-async.git"] +] synopsis: "FIX protocol: Async library to communicate to a server" description:"""The Financial Information eXchange (FIX) protocol is an electronic communications protocol initiated in 1992 for diff --git a/fix-coinbasepro.opam b/fix-coinbasepro.opam index 7d5b45c..14a48cf 100644 --- a/fix-coinbasepro.opam +++ b/fix-coinbasepro.opam @@ -8,19 +8,24 @@ doc: "https://vbmithr.github.io/ocaml-fix/doc" build: [ "dune" "build" "-j" jobs "-p" name ] run-test: [ "dune" "runtest" "-j" jobs "-p" name ] depends: [ + "ocaml" {>= "4.08.0"} "dune" {>= "1.11.4"} "ppx_deriving" {>= "4.4"} "ppx_deriving_yojson" {>= "3.5.1"} "rresult" {>= "0.6.0"} "ppx_deriving" {>= "4.4"} "uuidm" {>= "0.9.7"} - "fixtypes" {= version} - "fix" {= version} + "fixtypes" + "fix" "base64" {>= "3.2.0"} "digestif" {>= "0.8.0"} "sexplib" {>= "v0.12.0"} "uri" {>= "3.1.0"} ] +pin-depends: [ + ["fixtypes.dev" "git+https://github.com/vbmithr/ocaml-fix.git"] + ["fix.dev" "git+https://github.com/vbmithr/ocaml-fix.git"] +] synopsis: "FIX library" description: """ """ diff --git a/fix-deribit.opam b/fix-deribit.opam index 5ad0551..3618320 100644 --- a/fix-deribit.opam +++ b/fix-deribit.opam @@ -8,10 +8,11 @@ doc: "https://vbmithr.github.io/ocaml-fix/doc" build: [ "dune" "build" "-j" jobs "-p" name ] run-test: [ "dune" "runtest" "-j" jobs "-p" name ] depends: [ + "ocaml" {>= "4.08.0"} "dune" {>= "1.11.4"} "ppx_deriving_yojson" {>= "3.5.1"} - "fixtypes" {= version} - "fix" {= version} + "fixtypes" + "fix" "rresult" {>= "0.6.0"} "ptime" {>= "0.8.5"} "base64" {>= "3.2.0"} @@ -19,6 +20,10 @@ depends: [ "digestif" {>= "0.8.0"} "uri" {>= "3.1.0"} ] +pin-depends: [ + ["fixtypes.dev" "git+https://github.com/vbmithr/ocaml-fix.git"] + ["fix.dev" "git+https://github.com/vbmithr/ocaml-fix.git"] +] synopsis: "FIX library" description: """ """ diff --git a/fix-ftx.opam b/fix-ftx.opam index 40115a4..52591af 100644 --- a/fix-ftx.opam +++ b/fix-ftx.opam @@ -8,14 +8,19 @@ doc: "https://vbmithr.github.io/ocaml-fix/doc" build: [ "dune" "build" "-j" jobs "-p" name ] run-test: [ "dune" "runtest" "-j" jobs "-p" name ] depends: [ + "ocaml" {>= "4.08.0"} "dune" {>= "1.11.4"} "uuidm" {>= "0.9.7"} - "fixtypes" {= version} - "fix" {= version} + "fixtypes" + "fix" "hex" {>= "1.4.0"} "digestif" {>= "0.8.0"} "uri" {>= "3.1.0"} ] +pin-depends: [ + ["fixtypes.dev" "git+https://github.com/vbmithr/ocaml-fix.git"] + ["fix.dev" "git+https://github.com/vbmithr/ocaml-fix.git"] +] synopsis: "FIX library" description: """ """ diff --git a/fix.opam b/fix.opam index 51e3f33..ef9ca94 100644 --- a/fix.opam +++ b/fix.opam @@ -8,16 +8,20 @@ doc: "https://vbmithr.github.io/ocaml-fix/doc" build: [ "dune" "build" "-j" jobs "-p" name ] run-test: [ "dune" "runtest" "-j" jobs "-p" name ] depends: [ + "ocaml" {>= "4.08.0"} "dune" {>= "1.11.4"} "ppx_deriving_yojson" {>= "3.5.1"} - "fixtypes" {= version} + "fixtypes" "rresult" {>= "0.6.0"} "astring" {>= "0.8.3"} "ptime" {>= "0.8.5"} - "sexplib" {>= "v0.12.0"} + "sexplib" {>= "v0.13.0"} "angstrom" {>= "0.12.1"} "faraday" {>= "0.7.0"} ] +pin-depends: [ + ["fixtypes.dev" "git+https://github.com/vbmithr/ocaml-fix.git"] +] synopsis: "FIX protocol: library to create FIX fields and messages" description:"""The Financial Information eXchange (FIX) protocol is an electronic communications protocol initiated in 1992 for diff --git a/fixmsg.opam b/fixmsg.opam index b0671e4..96284a5 100644 --- a/fixmsg.opam +++ b/fixmsg.opam @@ -12,12 +12,20 @@ depends: [ "ptime" {>= "0.8.5"} "ppx_deriving_yojson" {>= "3.5.1"} "sexplib" {>= "v0.12.0"} - "fixtypes" {= version} - "fix" {= version} - "fix-async" {= version} - "fix-deribit" {= version} - "fix-coinbasepro" {= version} - "fix-ftx" {= version} + "fixtypes" + "fix" + "fix-async" + "fix-deribit" + "fix-coinbasepro" + "fix-ftx" +] +pin-depends: [ + ["fixtypes.dev" "git+https://github.com/vbmithr/ocaml-fix.git"] + ["fix.dev" "git+https://github.com/vbmithr/ocaml-fix.git"] + ["fix-async.dev" "git+https://github.com/vbmithr/ocaml-fix.git"] + ["fix-deribit.dev" "git+https://github.com/vbmithr/ocaml-fix.git"] + ["fix-coinbasepro.dev" "git+https://github.com/vbmithr/ocaml-fix.git"] + ["fix-ftx.dev" "git+https://github.com/vbmithr/ocaml-fix.git"] ] synopsis: "FIX protocol: high level types and messages" description:"""The Financial Information eXchange (FIX) protocol is diff --git a/fixtypes.opam b/fixtypes.opam index 5299fe8..423201c 100644 --- a/fixtypes.opam +++ b/fixtypes.opam @@ -8,14 +8,15 @@ doc: "https://vbmithr.github.io/ocaml-fix/doc" build: [ "dune" "build" "-j" jobs "-p" name ] run-test: [ "dune" "runtest" "-j" jobs "-p" name ] depends: [ + "ocaml" {>= "4.08.0"} "dune" {>= "1.11.4"} "ppx_deriving" {>= "4.4"} "ppx_deriving_yojson" {>= "3.5.1"} "ocplib-json-typed" {>= "0.7.1"} "fmt" {>= "0.8.8"} "uuidm" {>= "0.9.7"} - "bin_prot" {>= "v0.12.0"} - "ppx_bin_prot" {>= "v0.12.0"} + "bin_prot" {>= "v0.13.0"} + "ppx_bin_prot" {>= "v0.13.0"} "rresult" {>= "0.6.0"} "astring" {>= "0.8.3"} "ptime" {>= "0.8.5"} diff --git a/src/dune b/src/dune index 05020da..9dcd928 100644 --- a/src/dune +++ b/src/dune @@ -51,7 +51,7 @@ (name fix_deribit) (public_name fix-deribit) (modules fix_deribit) - (preprocess (pps ppx_sexp_conv ppx_deriving_yojson ppx_bin_prot)) + (preprocess (pps ppx_sexp_conv ppx_deriving_yojson)) (libraries ppx_deriving_yojson fixtypes