diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..7645ce0 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,13 @@ +language: c +sudo: false +services: + - docker +install: wget https://raw.githubusercontent.com/ocaml/ocaml-travisci-skeleton/master/.travis-docker.sh +script: bash ./.travis-docker.sh +env: + global: + - PINS="sha:." + - PACKAGE="sha" + matrix: + - DISTRO=alpine OCAML_VERSION=4.02.0 + - DISTRO=alpine OCAML_VERSION=4.06.0 diff --git a/CHANGES.md b/CHANGES.md new file mode 100644 index 0000000..de4bd81 --- /dev/null +++ b/CHANGES.md @@ -0,0 +1,3 @@ +## v1.10 + +- Fix build with OCaml 4.06 (and `-safe-string`) diff --git a/sha.opam b/sha.opam new file mode 100644 index 0000000..410440f --- /dev/null +++ b/sha.opam @@ -0,0 +1,19 @@ +opam-version: "1.2" +maintainer: "dave@recoil.org" +authors: [ +"Vincent Hanquez" "Thomas Gazagnaire" "Goswin von Brederlow" + "Eric Cooper" "Florent Monnier" "Forrest L Norvell" + "Vincent Bernadoff" "David Scott" +] +homepage: "https://github.com/djs55/ocaml-sha" +bug-reports: "https://github.com/djs55/ocaml-sha/issues" +dev-repo: "https://github.com/djs55/ocaml-sha.git" +license: "LGPL" + +build: make +install: [make "install"] +remove: [["ocamlfind" "remove" "sha"]] + +depends: ["ocamlfind"] + +available: [ ocaml-version >= "4.02.0" ] \ No newline at end of file