[OCAML] Fixes cloud.drone.io ocaml-test (#4501)

* Fixes ocaml-test

* Ocaml readme update
This commit is contained in:
Justin Black 2019-11-16 17:23:15 -08:00 committed by William Cheng
parent 3cd0e13a46
commit d175673077
4 changed files with 12 additions and 12 deletions

View File

@ -29,12 +29,12 @@ steps:
# generate all petstore samples (openapi3)
- /bin/bash bin/openapi3/run-all-petstore
# test ocaml petstore client
#- name: ocaml-test
# image: ocaml/opam2:4.07
# commands:
# - sudo apt-get -y install m4
# - cd samples/client/petstore/ocaml
# - opam install ppx_deriving_yojson cohttp ppx_deriving cohttp-lwt-unix
# - eval $(opam env)
# - sudo chmod -R 777 .
# - dune build --build-dir=./_build
- name: ocaml-test
image: ocaml/opam2:4.07
commands:
- sudo apt-get -y install m4
- cd samples/client/petstore/ocaml
- opam install ppx_deriving_yojson cohttp ppx_deriving cohttp-lwt-unix pin ocaml-migrate-parsetree 1.3.1
- eval $(opam env)
- sudo chmod -R 777 .
- dune build --build-dir=./_build

View File

@ -24,7 +24,7 @@ OCaml 4.x
Please run the following commands to build the package `{{{packageName}}}`:
```sh
opam install ppx_deriving_yojson cohttp ppx_deriving cohttp-lwt-unix
opam install ppx_deriving_yojson cohttp ppx_deriving cohttp-lwt-unix pin ocaml-migrate-parsetree 1.3.1
eval $(opam env)
dune build
```

View File

@ -1 +1 @@
4.1.0-SNAPSHOT
4.2.2-SNAPSHOT

View File

@ -16,7 +16,7 @@ OCaml 4.x
Please run the following commands to build the package `petstore_client`:
```sh
opam install ppx_deriving_yojson cohttp ppx_deriving cohttp-lwt-unix
opam install ppx_deriving_yojson cohttp ppx_deriving cohttp-lwt-unix pin ocaml-migrate-parsetree 1.3.1
eval $(opam env)
dune build
```