[opam-devel] Test packages before importing into opam repository?
Thomas Gazagnaire
thomas at gazagnaire.org
Sun Jul 5 15:28:42 BST 2015
That's a great idea! PR is welcome: this means adding an `opam install -t` after the basic installation test here: https://github.com/ocaml/opam-repository/blob/master/.travis-ci.sh#L114
> On 2 Jul 2015, at 15:08, Thomas Leonard <talex5 at gmail.com> wrote:
>
> I've had a few problems recently with my Travis builds failing because
> one of my dependencies has a failing unit test. How about having the
> opam repository Travis script check that the new program's tests pass
> before importing it?
>
> e.g. here's a PR fixing one such bug with ocaml-git:
>
> https://github.com/ocaml/opam-repository/pull/4234
>
> But the Travis build for the original import PR passed:
>
> https://travis-ci.org/ocaml/opam-repository/builds/66523206
>
> It would also help to have https://github.com/ocaml/opam/issues/2190
> fixed, so that I could test my package without testing everything it
> depends on (in fact, in my particular case, my package didn't depend
> on ocaml-git, but it did depend on a package whose unit-tests depended
> on ocaml-git...). This would probably make the Travis tests faster
> too...
>
> Thanks,
>
>
> --
> Dr Thomas Leonard http://roscidus.com/blog/
> GPG: DA98 25AE CAD0 8975 7CDA BD8E 0713 3F96 CA74 D8BA
> _______________________________________________
> opam-devel mailing list
> opam-devel at lists.ocaml.org
> http://lists.ocaml.org/listinfo/opam-devel
More information about the opam-devel
mailing list