diff --git a/.travis.yml b/.travis.yml index 1f5f889..0349205 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: c sudo: required -install: wget https://raw.githubusercontent.com/ocaml/ocaml-travisci-skeleton/master/.travis-opam.sh +install: wget https://raw.githubusercontent.com/ocaml/ocaml-ci-scripts/master/.travis-opam.sh script: bash -ex .travis-opam.sh env: - OCAML_VERSION=4.03 PACKAGE=syslog-message TESTS=true diff --git a/syslog-message.opam b/syslog-message.opam index b0aab9f..774c0e0 100644 --- a/syslog-message.opam +++ b/syslog-message.opam @@ -1,26 +1,29 @@ -opam-version: "1.2" +opam-version: "2.0" maintainer: "Jochen Bartl " authors: [ "Jochen Bartl " ] -license: "BSD2" homepage: "https://github.com/verbosemode/syslog-message" -dev-repo: "https://github.com/verbosemode/syslog-message.git" -bug-reports: "https://github.com/verbosemode/syslog-message/issues" doc: "https://verbosemode.github.io/syslog-message/doc" - -build: [ - [ "dune" "subst" ] {pinned} - [ "dune" "build" "-p" name "-j" jobs ] -] - -build-test: [ - [ "dune" "runtest" ] -] +dev-repo: "git+https://github.com/verbosemode/syslog-message.git" +bug-reports: "https://github.com/verbosemode/syslog-message/issues" +license: "BSD2" depends: [ + "ocaml" {>= "4.03.0"} "dune" {>= "1.1.0" & build} "astring" "ptime" "rresult" - "qcheck" {test} + "qcheck" {with-test} +] + +build: [ + [ "dune" "subst" ] {pinned} + [ "dune" "build" "-p" name "-j" jobs ] + [ "dune" "runtest" "-p" name "-j" jobs ] {with-test} ] -available: [ ocaml-version >= "4.03.0" ] + +synopsis: "Syslog message parser" +description: """ +This is a library for parsing and generating [RFC3164](https://tools.ietf.org/html/rfc3164) +compatible Syslog messages. +"""