[opam-devel] Test packages before importing into opam repository?

Thomas Leonard talex5 at gmail.com
Thu Jul 2 15:08:53 BST 2015

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:


But the Travis build for the original import PR passed:


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


Dr Thomas Leonard        http://roscidus.com/blog/
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

More information about the opam-devel mailing list